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&...]