Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Execution Flow doesn't show all For Each Records

fbs
Giga Expert

I have a flow that works fine when running in Test mode, but not completely, when it is activated.  The trigger works ok, but then during a For Each (shown in the attachment) it says it is evaluated to False.  The thing is that in test mode, the execution flow also says it evaluates to False; it only shows the test of the first of 10 records.  I can actually look at the records and it shows that one of them should cause the Set Flow Variable action to happen.

 

Whether I run in test or in activation mode, the records in the For Each look the same.  But the activiation doesn't work and the test does.  Maybe it's a timing thing, but I can't seem to tell.

 

Is there a way to see all the For Each records in an execution flow?  Or a better way to debug this?  Thanks

 

1 REPLY 1

arpanshah
Tera Contributor
  1. Navigate to All > Process Automation > Flow Administration > Settings.
    The system displays the list of individual items for which flow reporting is activated.
  2. Create New Record
  3. In the Flow/SubFlow/Action field, select the lookup icon to select the flow/subflow for which you want enable all iteration
  4. Check/Enable checkbox "Report all iterations"
  5. Select Reporting : Trace: All values (for testing and Support only)

  6. Save/Submit Changes.

  7. For all of new executions you will able to navigate to all the iteration
    arpanshah_2-1732895726770.png