Skip to main content
priyankap3485
May 28, 2025
Question

Issue with parallel flows when activity Chaining is applied

  • May 28, 2025
  • 10 replies
  • 0 views

Hello All,

I have a scenario where I am calling the process from web API, to get this completed faster I have added few flows in parallel using AND gateway and these paths has to complete to return the response from web API hence I have applied activity chaining on both the flows.

With this implementation I have observed that, even we are having parallel flows using AND, because activity chaining, only one path is executing first and then other is starting which delaying time of execution.

Why chaining is over-passing AND functionality here? Any thoughts on this?

Please find below example process.

Thanks!

Priyanka

10 replies

stefanhelzle0001
May 28, 2025

Which Appian version is this? Since 24.4 activity chaining has no impact on the behaviour when using a!startProcess.

priyankap3485
May 28, 2025

Hi Stefan,

Thanks for responding, this is 24.4.
I have observed this on start process nodes only.

mikes0011
Brainy
May 28, 2025

Logically, chaining can only really apply across one branch of an AND gateway.

priyankap3485
May 28, 2025

Hi Mike,
This just example process I shared, in my scenario I need to call multiple integration to form the final response of web API. Hence I tried to call those integration in parallel flows with chaining.

mikes0011
Brainy
May 28, 2025

I'm unclear what parallel flows buys you here when both flows are unattended.  You may as well put all the items in sequence (especially since when the two flows are running in parallel, even if chaining worked there'd be no way to assure what order the nodes execute in, meaning you should be able to make the two paths sequential anyway).

davidj137213
May 28, 2025

Activity chaining requires a deterministic path. In a parallel flow, multiple paths execute simultaneously, and the system cannot predict which one will complete first, making chaining unpredictable or impossible.

priyankap3485
May 28, 2025

So does this mean system wait to complete any one path and then goes to another path?

If so then AND gateway is not serving the purpose here isn't it?

davidj137213
May 28, 2025

No , it means that you won't be able to predict what it will happen.

And yes , you must avoid the use of an AND gateway in this case, try to implement it in a sequential flow

harshas2775
May 29, 2025

As others suggested here, its better to merge both parallel flows so they execute sequentially. Also try to keep the chaining till the node on which the parent process depends or expects output from, because activity chained nodes themselves can slow the performance/execution of process. 

priyankap3485
June 3, 2025

Thank you all for replying to this thread, as mentioned by [mention:b45a4f6a20b14a008e4e0ec732a8bf98:e9ed411860ed4f2ba0265705b8793d05]  and [mention:d173d3118db546878c1f717bfba87080:e9ed411860ed4f2ba0265705b8793d05]  chaining need deterministic path to execute on priority. My issue got resolve  applying chaining for one path and removing from other. This way chaining is not breaking anywhere and parallel execution is also happening as expected.