Hi All,
Asynchronous Start Process smart service runs as synchronously because sub process has activity chaining. Our question is old Start Process smart service runs synchronously as there is no option in earlier version, but newer version also runs same way then we have to Async sub process in that case. Any reason for this issue?
Using on premise Appian with 25.2
Thanks!
Discussion posts and replies are publicly visible
Asynchronous Start Process runs asynchronously even with subprocess activity chaining.Subprocess chaining only affects its own internal node execution; It doesn't block the parent, which continues immediately.Use Synchronous Start Process or Sub-Process node to wait for completion.
But in our scenario, Asynchronous Start process running synchronous which we have validated in the Process nodes execution time. Reason behind it looks like due to child process is activity chained.
Understood! Parent process activity chaining through the Async Start Process node executes child's chained nodes before resuming, mimicking sync.Disable Activity Chaining on the parent's Start Process node for true async.
We have disabled activity chaining before the Start process node already for parent process, but child process has activity chaining due to it is reused by other process we dont want to remove.
We were able to resolve the issue by switching to the Asynchronous Sub‑Process smart service. However, the question remains: Why does the Async Start Process smart service not behave in the same non-blocking manner?
Shantanu Bhowmick said:Why does the Async Start Process smart service not behave in the same non-blocking manner?
It might be due to activity chaining across process boundaries.Async Start Process launches a separate process instance (load-balanced), so parent chaining extends into child's initial unattended nodes before resuming; causing observed block.Async Sub-Process runs in the same instance (same engine), with no boundary crossing parent resumes instantly.