[jboss-user] [jBPM] - Migration jbpm 3 to jbpm5
y lab
do-not-reply at jboss.com
Mon Jan 28 15:12:25 EST 2013
y lab [https://community.jboss.org/people/yjboss] created the discussion
"Migration jbpm 3 to jbpm5"
To view the discussion, visit: https://community.jboss.org/message/794721#794721
--------------------------------------------------------------
Hi,
I must migrate a code integration . in JBPM3 i have :
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
GraphSession graphSession = jbpmContext.getGraphSession();
ProcessDefinition definition = graphSession.findLatestProcessDefinition(processDefinitionName);
ProcessInstance instance = new ProcessInstance(definition);
...
instance.getContextInstance().setTransientVariable(IntegrationInfo.INTEGRATION_INFO,var);
instance.signal();
...
jbpmContext.save(instance);
jbpmContext.close();
i am new in jbpm5 and i demand what is the effecient equivalent migration of this code in jbpm5.
Thanks for your helps.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/794721#794721]
Start a new discussion in jBPM at Community
[https://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/20130128/3b3e2a04/attachment.html
More information about the jboss-user
mailing list