BPEL Correlation: determine if process instance already exists
571736May 9 2007 — edited May 9 2007Hi,
We use correlation in a BPEL process so that a single instance can handle multiple messages.
I want to be able to determine if a BPEL process for a specific correlation identifier (an order in this case) already exists. One approach it to call the receive operation that creates the instance again. BPEL, in accordance with the BPEL spec, then throws an error back that I can handle. Although simple and straightforward, I do not regard this to be proper programming.
Anyone knows alternative approaches, e.g. can I use the BPEL client API?
Thanks, Sjoerd