Hi all, I'm having a tricky issue with a Terminate event at a par

Certified Lead Developer
Hi all,

I'm having a tricky issue with a Terminate event at a parent process. Basically the set up is this: a parent process simultaneously launches a user task and a subprocess containing timers and stuff. If the user completes their task in a timely fashion, a Terminate node is hit, which is intended to also terminate the subprocess (which is called synchronously if it was a question). Instead we have a situation where the subprocess stays alive for some reason and continues to fire timer events long after the parent process was closed, which is confusing to users.

As an attempted remedy I added a byReference boolean that will signal the subprocess to end - the subprocess then hits a non-terminate end node. But now what's happening is the parent process chains to the Terminate node, and then the subprocess hits its end node too, causing 2 flows to exit to the higher process flow, which just makes a bigger mess. ...

OriginalPostID-222472

OriginalPostID-222472

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data