Forum Discussion

FICO's avatar
FICO
Community Manager
17 years ago

RuleFlow and Subprocess

RuleFlow and Subprocess

If a ruleflow contains a loop to do tasks and subprocess. Will the execution of the ruleflow be sequential? It seems like the first loop hasn't finished its subprocess's tasks, the flow has triggered a second time into the loop again.

2 Replies

  • FICO's avatar
    FICO
    Community Manager
    I have run some tests and it runs sequential, as long as you don't use parallel branches. Those are executed in a pseudo-parallel mode - same CPU thread, but the engine picks tasks from one branch after another in a loop to make them all progress without completely blocking other branches.
  • FICO's avatar
    FICO
    Community Manager
    Thanks! I realised I had enabled both ruleflows to start automatically. That's why I got such behavour.