Number counter in flow execution skip all steps except first and last

Danil
Tera Contributor

The number counter in the flow execution skips all steps except the first and last. In step 1 I need to go to step 2, and I am immediately redirected to step 9 (the last one). I can't view 2-8 steps. Who has encountered such a problem, how did you solve it? 
p.s. The loop is going on the responses of the 3rd party application. And I checked on Postman, I have 9 responses, but in flow, it shows only the first and the last. I suppose this is a problem with the Flow Designer user interface.

 

 

Screen Shot 2024-10-10 в 09.02.36.pngScreen Shot 2024-10-10 в 09.02.43.png

3 REPLIES 3

Mark Manders
Mega Patron

We are having very little information. If you have 9 steps and 2-8 are for some reason not triggered, it won't show them (nothing there). What does the flow execution say on the steps? Is this every time the flow runs, or just on a certain record/schedule/whatever it is you are trying to do? Just these two screenshots give little to go on.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thanks for your attention. The loop is going on the responses of the 3rd party application. And I checked on Postman, I have 9 responses, but in flow, it shows only the first and the last. I suppose this is a problem with the Flow Designer user interface.

Marco Moro
Tera Guru

Hi Danil,
ServiceNow introduced afaik with Washington release a new flow execution setting for iterations reporting. Starting from that time only the first and last operation for a loop are stored / preserved.
In order to see alls loop operations for future executions you can enable per flow to report all iterations by creating a new flow execution setting and flag the option "Report all iterations" to true. Please keep in mind that this produces more reporting data on the instance and therefore ServiceNow recommends to enable this setting only in a subproduction instance.