Hi everyone,
One of the process models that I'm working on is using a Timer Event node, which is having a scheduled delay setting as shown below: (the constant returns 2 (integer))
I think the node supposes to delay for 2 minutes, then will activate the next node (Merge document) to run.
However, this Delay node has stuck there for much longer than 2 minutes, and when I check Process History, the node is Cancel.
The Merge Document node does not have any setting for Scheduling either
I haven't worked with Timer Event before, and couldn't find the reason for this behaviour from documentation. Could anyone help me with this?
Thanks a lot,
Discussion posts and replies are publicly visible
Is this process running sync or async? If it's running sync the parent process might be completing it if you have an end node with terminate process.Does this gets cancelled when you run it as debug mode? I haven't used constants for timers but what I have been using is the option the date and time specified by this expression I'm using =now() + intervalds(0,0,10)/*Wait 10 seconds*/
This process run synchronously, but the Merge Document node needs to be executed to pass the output to the parent process.
Currently the parent process was still able to continue as the process still hit end node despite the cancelled Timer Event, but the output from this sub-process is left blank.
Also, I run the whole workflow, and realised I couldn't see the data returned to parent process, and found out it was because of the delay node
Your parent process must be finishing the sub process. Verify that it's running synchronously and it should wait till the sub process is done till moving to the next node. If your parent process has split nodes and hits the End Event (With the Terminate option) anything that is running including subprocess will be completed.
Hope this image helps to prove the point. If your parent process hits the end node it will cancel anything that was running in order to complete