[jboss-user] [jBPM] New message: "Create process instance without starting it"

M M do-not-reply at jboss.com
Fri Feb 26 14:29:28 EST 2010


User development,

A new message was posted in the thread "Create process instance without starting it":

http://community.jboss.org/message/528873#528873

Author  : M M
Profile : http://community.jboss.org/people/gubespam

Message:
--------------------------------------------------------------
Is there a way, through the public API, to create a process instance without starting it? The StartProcessInstanceInLatestCmd always starts it.
 
    ClientProcessInstance processInstance = processDefinition.createProcessInstance(executionKey);
    processInstance.setVariables(variables);
    processInstance.start();

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

To reply to this message visit the message page: http://community.jboss.org/message/528873#528873




More information about the jboss-user mailing list