2 Replies Latest reply on Mar 14, 2017 9:12 AM by mehdibrun

    Displaying ProcessInstance using BPMN2 Modeler

    mehdibrun

      Hi everyone,

      I have first to explain my goal. I'm currently working on an Eclipse RCP application where I've integrated BPMN2 Modeler and JBPM 6.5.0 in order to display and execute bpmn processes. At this point, the application is able to start a ProcessInstance from the bpmn file and also display the process with BPMN2 Modeler from this same bpmn file. The problem is that even though the process Instance is running and scripted tasks are executed (logs on the eclipse console as proof) , the display of the BPMN2DefaultEditor doesn't change since its source file remains static. My question is basically how to link the display of BPMN2Editor to the dynamic processInstance in order to see the tasks being highlighted one after another during the execution ?

       

      I hope my situation is clear enough.

       

      Thanks for the help !

        • 1. Re: Displaying ProcessInstance using BPMN2 Modeler
          dmarrazzo

          I think that you are referring to the Process Instance in the Debugger view in eclipse:

          Development Guide - Red Hat Customer Portal 

           

          The doc is quite detailed, pay attention that the persistence MUST be off.

          1 of 1 people found this helpful
          • 2. Re: Displaying ProcessInstance using BPMN2 Modeler
            mehdibrun

            Hi Donato,

            Thanks for your answer. I was indeed referring to the Process Instance Viewer but I'm not succeeding in making mine work. I actually wanted to have the same kind of behavior but with the BPMN2 Modeler interface which is a bit more Classy in term of diagram's design. When I start my process composed of two script Tasks I can see the two logs on the console line which means that they were well executed with a 5 second delay between both (timer event). The thing is that nothing appear on the Process Instance Viewer and the bpmn2 modeler Editor doesn't seems to show any sign of the runtime. Could it be a problem of target Runtime of Drools or Jbpm ?

            proof.PNG