Search code examples
droolsjrulesdrools-flow

Drools Flow: Try to implement looping concept using Drools Flow


I need to implement looping concept using drools flow. Actually we are migrating ILog Jrule to Drools. In Existing solution, we have a flow which contain looping.

Kindly find same in attached image, it is in Jrule implementation. we need to convert into Drools flow.

Please help me to resolving the problem.

enter image description here

  • Fetch Node Contains : first element of list.
  • Validations Node contains : multiple rules decision tables.
  • Remove Node contains: remove current element which was fetch in Fetch Node.

Solution

  • I got a solution for above specified problem. enter image description here

    First conditional control is Gateway Converge(Marge) and second one is Gateway Diverge( Split)