4 Replies Latest reply on Jul 26, 2007 6:09 AM by e120274

    Multiple process instances

    e120274

      I have faced with a problem with instances of processes. When I start multiple instance of same process definition, JMSIntegrationService mix the instances inside the Token variable. Two instances started at the same time and in one instance flow did not continue and other instance activity is mixed with current instance process. I have overridden the JmsIntegrationService to get invokes for each activity to handle. Take the token's process instance id and see the problem. Can Jbpm BPEL work with multiple process instances at the same time? It is very important point I think? Can anyone tried to handle multiple process instances at the same time?
      Thanks a lot.

        • 1. Re: Multiple process instances
          e120274

          Is there anybody use JBPM BPEL? And also work with process instances?
          Waiting for reply.
          Thanks.

          • 2. Re: Multiple process instances
            efip10

            I use multiple process instances without a problem (except for a race condition outlined elsewhere). At this point 20 of them are running ok.

            However I don't use JMSIntegrationService.

            • 3. Re: Multiple process instances
              e120274

              I have taken the process instance id from Token in JMSIntegrationService. However token contains wrong instance id. Is there any method to get the instance id through the execution of process? If I understand true, in JBPM BPEL with version 1.1.beta2 we can not define task. So I have written a web service to create our task objects. Then when service call reached to that point I create a task instance and integrate it with process instance of BPEL. However tasks capture the wrong instance id from Token in JMS. Can anyone define other solutions for task management or service integration?

              • 4. Re: Multiple process instances
                e120274

                 

                "efip10" wrote:
                I use multiple process instances without a problem (except for a race condition outlined elsewhere). At this point 20 of them are running ok.

                However I don't use JMSIntegrationService.


                What is the meaning of race condition?