4 Replies Latest reply on Jul 27, 2007 4:11 PM by Nagesh Mamillapalli

    Concurrent Processing in JBPM

    Nagesh Mamillapalli Newbie

      I am new to JBPM and have a question on concurrent processing handled by JBPM.
      Below is the block of code showing my usage of JBPM

      // Get the JBPMContext
      jbpmContext = getJBPMContext();
      // Get the process instance for the process instance id passed.

      ProcessInstance processInstance = jbpmContext.loadProcessInstance(processInstanceId);
      Token token = processInstance.getRootToken();

      My question is before transaction A issues an explicit save another transaction B modifies the same records then how JBPM will handle transaction A?

      I hope I will get answre to my question.