1 Reply Latest reply on Aug 26, 2013 3:06 AM by jjsaguit

    How is jBPM process instance ID being generated?

    jjsaguit

      I am planning to load balance my workflows and I'm wondering what will happen if 2 or more servers sends requests to the database at the same time.

       

      Will they have the same process ID and will fail to save?

      Is there any way to customize the process ID?

       

      Thanks,

      John

        • 1. Re: How is jBPM process instance ID being generated?
          jjsaguit

          I just want to make sure indeed that multiple JBOSS AS servers can save state data into the same MSSQL database.

          I am worried that each jbpm instance (on each) has its own internal processinstanceid counter.

          If so, this can lead to clashing of processinstanceid which will lead to PK violation errors.

          Even further down the road, I wonder if we start multiple workflow instances on 1 AS server, will we face the same problem.