3 Replies Latest reply on Dec 2, 2008 6:33 AM by Dhanush Gopinath

    How to get a Bpel Process Instance through API?

    Dhanush Gopinath Newbie


      I have deployed a BPEL and I am invoking it through a SOAP UI.

      I want to get this ProcessInstance through API. I tried using GraphSession.findProcessInstances(procDefId), but it returned an error saying "couldn't load process instances for process definition '1'"

      I checked the DB and found out that there are no entries in the JBPM_PROCESSINSTANCE table. But there are entries in JBPM_PROCESSDEFINITION table of the process definition deployed.

      Where are the Bpel Process Instances stored then? And how do I obtain them.

      Please help.

      Thanks in Advance
      Dhanush Gopinath