Assistance needed: For calling rules parallel

Good morning Team

I’m currently working on combining the rules and want to call the rules in parallel that is, executing them asynchronously with respect to each other.

Kind Regards
Bafana Promise Kopo

4 Likes

Hello @Promise_Bafana_Kopo ,
Could you please elaborate on the question and scenario so I can get a better understanding? Based on your question and the screenshot, it looks like each rule’s output is dependent on the previous rule’s output. In that case, it would only work sequentially. Are you referring to this in the workflow context?

@Sam , I too have similar question, If the inputs for each rule are independent and have no interdependencies, is it possible to execute these rules in parallel within a workflow? If so, what approach would you recommend for implementing this efficiently?

1 Like

Hello @Promise_Bafana_Kopo @thrinadhpk ,
Based on my understanding, yes, we can do that. Instead of giving the connection from one rule to another, we can connect the Start node directly to each rule node and get the result. But the result and the timing will be the same — only the way the connections are given is different.
Hope this helps

Thanks. I was able to do it in parallel.

1 Like