Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
6 subscribers
Views
3134 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi All, I have sub process which is kicked of asynchronously from the
georgej
over 9 years ago
Hi All,
I have sub process which is kicked of asynchronously from the parent process. The parent process flow ends with a "Terminate". If the parent process reaches the "Terminate" while the child process is still running ,will the child process also be terminated. I am expecting this shouldn't happen as the child process is triggered in async mode. Currently we are having a production issue as the child process is triggered in synchronous mode ; many a times the child processes is terminated as the parent process reaches the terminate through an alternate flow.
OriginalPostID-179385
OriginalPostID-179385
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 9 years ago
As per the documentation, "a Terminate Process event can be used to stop all branches of a process". Is there a reason you call a terminate event in the parent?
forum.appian.com/.../End_Event.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgej
over 9 years ago
May be there is a reason as that path was already existing when we made the modifications. If we make our sub process to be fired in async mode ,can it run into completion even if the parent process is terminated.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
I've just tested the terminate event on 7.11 and it does not cancel the async sub-process when a terminate event is used. Have you tried a test in isolation to prove this functionality? Are you certain that it's the parent's terminate event that is causing the cancellation?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgej
over 9 years ago
We looked at the process nodes and timing ; there is no other reason for the process to cancel; at times when the alternate path takes longer time we have the sub process completing normally and writing to DB. Any way we will do a rigorous testing, thanks for helping hand extended Phil
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shyam Bommakanti
Certified Lead Developer
over 9 years ago
The process that is calling a subprocess asynchronously treats it as completed immediately after starting it. If the parent process is completed or terminated it should not terminate the asynchronous subprocess. I used this feature before.
Currently I tested on Appian 7.9 and it is consistent, it didn't terminate/cancel my subprocess.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel