Flow Decision activity inside a loop?


#1

Hey, I am trying to make multiple Decisions for many items inside a DataTable. How can I add Flow Decision activities inside For Each because I wanna avoid nested IF statements


#2

You can create your decision making logic as a separate workflow with a flowchart, pass the dataTable items that you need (or the data table itself) as arguments, use output argument to send back the decision or perform the decided action within the workflow.

Within your for each activity, use invoke this decision making workflow