Hi Bran,
Here In your mail you mention A) Enter flow B.Then you called
B) StartTransaction.Is case B is inside Flow B or separate one?
I mean StartTransaction,case C etc…
If case B,Case C are inside Flow B.Then you create separate
Service.In that service you have to create try/ catch block if second
service startTransaction completed successfully then it commits.If some problem occured in your database Your startTransaction service not
completed Cursor goes to catch block there you have called rollBack,
ClearTransactionServices.
Now call this FlowB service you separatly created
into your main flow Service A after completion of your StartTransaction,dostuff then call flow B.
In your catch block for flow A you call getlastError service,rollBackService,ClearTransaction Service.
If flow B fails,It jumps to catch block in B,Then catch
block in A.It bubbles up error.This gives clear picture.
Thanks,
SriniK
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services