I was wonder if someone could help me so i had a service task in a flow to query a database. It oftentimes will have many rows but single column.
Testting it my output will loo like this
ArrayList<E> :[Merchant A, Merchant B, Merchant C]
In my gateway is there a design patter where i can evaluate Merchant A and do subsequent task. Then comeback to the gateway and evaluate Merchant B and do subsequent step etc.
Appreciate
Sean
Thanks for the comment. The only thing i could see is in this list example there is 3 items but in another run there could be 6 then later 4 etc. Its dynamic. I was wondering if there was a way to use the values from the list to iterate over the service task that is the subsequent task to the arm that sends an email. In this example 3 emails sent in another run it may be 6 emails.
Thanks much
Hello
I hope I understand you situation correctly.
Have you tried using a Inclusive gateway. Each arm of the gateway can be configured to evaluate a certain condition.
So you can map 3 output arms. Each arm , you can check the arraylist to see if A, B or C is there or not, and each arm then would proceed towards individual Human tasks/Service tasks. The output from the 3 Tasks can be again added together using a Parallel gateway and used as a input for the Inclusive gateway.
Make sure to have a default arm and loop terminating conditions else it will be stuck in eternal loop.
Regards