0 Replies Latest reply on Jan 28, 2013 3:12 PM by y lab

    Migration jbpm 3 to jbpm5

    y lab Newbie

      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.