Flow Designer with more than 50 sub flows executing parallelly

Namita_Snow
Tera Expert

Hello community,

 

We have a requirement where users can select up to 50 multi-row values from a catalog form. For each multi-row value, we need to run sub-flows in parallel to trigger approvals and execute automation. Could anyone confirm whether it is considered a good practice to trigger multiple sub-flows from the main flow in parallel?

 

I would like to know, whether implementing this feature could cause any performance issues.

 

Thanks in Advance!

2 REPLIES 2

Collin Romeijn
Kilo Guru

Hi @Namita_Snow ,

It is recommended to use subflows in stead of 1 long lasting big flow if they are not related to each other and run there own processes.

The limitations is all about your instance. But keep in mind, if these flows trigger a lot, (depending on the size of the flow and actions in it), you can get some delay in executions.

This article explains a bit of some limitations:
Flow are getting queued or delayed execution - Support and Troubleshooting

 

Hope this helps.

Kind Regards,

Collin

Viraj Hudlikar
Giga Sage

Hello @Namita_Snow 

 

Running multiple sub-flows in parallel can be good, but there are a few things to consider:

1) It's generally okay to run sub-flows in parallel, but make sure each sub-flow is independent and doesn't rely on the completion of another. This helps avoid potential issues with race conditions.

2) Triggering up to 50 sub-flows in parallel can put a significant load on your system. This might lead to increased CPU and memory usage, which could affect overall performance. It's a good idea to monitor system performance and adjust as needed.

3) Before deploying, thoroughly test your flow with the maximum expected load. This will help you identify any bottlenecks or issues.

4) Implement robust error handling within each sub-flow to manage failures gracefully without affecting the overall process.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.