I have 2 documents are subscribed to one process. Attached the picture.
webMethods receive doc1 and invoke srv1; srv1 will generate a file in shared folder and wait a third part software (let’s called it as “Software A”)to process it. After “Software A” finish processing, it will invoke webMethods, and publish doc2, which will trigger srv2.
doc1 --> srv1 --> “Software A”
“Software A” --> doc2 —> srv2 ----> finish
There is no problem to use correlation ID to link them together.
My question is what the transition between srv1 and srv2 should be? If there is no any transition, the process will indicate finished after I publish doc1. If I put transition between them, then, in my webMethods, I couldn’t see the process instance was started until I publish doc2.
any suggestion about it?