Discussion:
[jboss-user] [jBPM] - Migration jbpm 3 to jbpm5
y lab
2013-01-28 20:12:25 UTC
Permalink
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]
Loading...