1 Reply Latest reply on Nov 16, 2011 1:51 PM by Demian Calcaprina

    Process Definition and its running instances.

    Yuriy R Newbie


      Here's my situation :


      I want to figure out that some Process Definition has any running instances.

      JBPM API gives to us such posobility :




      But... if Process Definition has running instance, this instnce locks its own row at the JBPM_PROCESSINSTANCE table.


      and findProcessInstances method  hangs for that moment when instance will end its execution and unlock its row.


      Is there another way to figure out this question ?


      Big thanks for any response !


      NOTE :

      JBPM version is 3