This content has been marked as final.
Show 3 replies
-
1. Re: How to get a Bpel Process Instance through API?
dhanushgopinath Nov 24, 2008 6:34 AM (in response to dhanushgopinath)Hi All,
Any updates on this?
Does it mean that the BPEL Process Instance is not even held in the DB ?
Please let me know. Any help is appreciated.
Thanks
DHanush -
2. Re: How to get a Bpel Process Instance through API?
aguizar Nov 25, 2008 12:34 PM (in response to dhanushgopinath)BPEL process instances are definitely stored in the JBPM_PROCESSINSTANCE table. There is no reason why you wouldn't be able to retrieve a process instance through the GraphSession methods, other than some database connectivity problem. What is the full message (and stack trace, if any) of the error you get?
-
3. Re: How to get a Bpel Process Instance through API?
dhanushgopinath Dec 2, 2008 6:33 AM (in response to dhanushgopinath)Hi Alex,
Thanks for the confirmation. The fact was that my process is like thisreceive ->assign->invoke->receive ....
The first receive and assign went fine, but I was getting exception in invoke.
I thought since the receive activity is completed the process instance might have created, but it was not. That's what confused me.
Now when I fixed the invoke's exception, it got working and the bpel process instances are indeed stored in JBPM_PROCESSINSTANCE table.
Many thanks Alex for confirming it. I am also gettign the process instance through the graph session methods.
Thanks
Dhanush