[jboss-dev-forums] [jBPM Development] - Re: retreive a task's assignee

Maciej Swiderski do-not-reply at jboss.com
Sun Dec 18 14:29:47 EST 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: retreive a task's assignee"

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

--------------------------------------------------------------
Tom, you can get it with following onExit definition, with assumption that you are looking for ActorId, similar you can get group assignment as well (GroupId):
     <extensionElements>
        <tns:onExit-script scriptFormat="http://www.java.com/java">
          <script>
          System.out.println(User of the task  + ((org.jbpm.workflow.instance.node.WorkItemNodeInstance)kcontext.getNodeInstance()).getWorkItem().getParameter(ActorId));
          </script>
        </tns:onExit-script>
      </extensionElements>


HTH
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642117#642117]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111218/0304fe62/attachment.html 


More information about the jboss-dev-forums mailing list