[jboss-user] [jBPM] - Asynchronus execution error

Huisheng Xu do-not-reply at jboss.com
Tue Apr 6 09:01:42 EDT 2010


Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Asynchronus execution error"

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

--------------------------------------------------------------
Hi ABIDI,
  If you want do execute a ProcessInstance step by step, you should use Automatic activity like java or script. You should use state or task activity do do this thing. The state and task activity will stop the execution and wait a signal, until we invoke the executionService.signalExecutionById() they won't continue to next activity.

  If you want to provide some data into processInstance, you could use signalExecutionById(String signalName, Map variables) to do that. Or you could invoke executionService.setVariable(exeuctionId, name, value) directly.

cheers.

--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list