[JBoss JIRA] Created: (JBPM-2921) Provide AssignmentHandler like functionality with BPMN
by Jamie Balling (JIRA)
Provide AssignmentHandler like functionality with BPMN
------------------------------------------------------
Key: JBPM-2921
URL: https://jira.jboss.org/browse/JBPM-2921
Project: jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Jamie Balling
I posted a question on the community about how to mimic AssignmentHandler functionality when using BPMN and received a response from HuiSheng Xu asking that I enter a feature request. http://community.jboss.org/message/554236#554236
Specifically:
I am successfully using jPDL with an AssignmentHandler to programatically assign a task.
<task name="review" >
<assignment-handler class="mypackage.AssignBySomeRule">
<field name="ruleName">
<string value="exampleAssignmentRuleName" />
</field>
</assignment-handler>
<transition to="approval" />
</task>
Is it possible to accomplish this with BPMN? I know there is a "resourceAssignmentExpression", but it isn't clear that this can do the same thing.
<userTask id="myTask" name="My task">
<potentialOwner resourceRef="manager" jbpm:type="group">
<resourceAssignmentExpression>
<formalExpression>management</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
Can the "formalExpression" invoke arbitrary java classes or does it need to use process variables to evaluate to a user or group name?
Thanks!
---------------------
reply from HuiSheng Xu in jBPM
Hi Jamine,
There is no support for AssignmentHandler in BPMN. Please open an issue for this feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month