[jboss-user] [jBPM] - BPMN equivalent of AssignmentHandler?

Jamie Balling do-not-reply at jboss.com
Fri Jul 23 18:37:26 EDT 2010

Jamie Balling [http://community.jboss.org/people/jballing] created the discussion

"BPMN equivalent of AssignmentHandler?"

To view the discussion, visit: http://community.jboss.org/message/554228#554228

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" />
        <transition to="approval" />

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">

Can the "formalExpression" invoke arbitrary java classes or does it need to use process variables to evaluate to a user or group name? 



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100723/a5bee1fe/attachment.html 

More information about the jboss-user mailing list