- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 01:30 AM
Hello experts,
I've a requirement where i need to run a flow for a large number of data set , and i'm not able to see logs inside for loops as the code runs for count,
check the screen shot , i'm not able to change the for loop counter to see other iterations, and output in them.
Kindly guide me , in case you've faced the similar issue, or if there is some property that is blocking it .
Regards,
Varun Sharma
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 01:52 AM - edited 04-25-2024 01:52 AM
Hey @Varun Sharma,
Can you verify the following system property? com.snc.process_flow.reporting.iteration.lastn
- Specify the number of recent iterations to report in the flow execution details. Use this property to sample a recent portion of flow logic iterations. Use a positive value to specify the number of recent iterations to display. Use the value of -1 to display all iterations. The system treats the value 0 as a value of 1.
The value might be set to something like 1 in your instance.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 09:15 AM - edited 08-07-2024 10:43 AM
I am attempting to see all of the iterations, in an iteration loop ('For Each Item in' Action step), which has only 5 iterations in its current configuration. It would seem that no matter how I configure the global Process Automation System Properties (I have tried several custom configurations of these properties), I continue to only be able to see the First and Last iteration loop. Furthermore, if I define specific System Flow Execution Settings {sys_flow_execution_setting} records, I still only get the First and Last iteration loops revealed in Execution Details records. I have created several of these records (System Flow Execution Settings {sys_flow_execution_setting}), on the triggering Flow, and on Subflows invoked by the triggering Flow, with no change in behavior of the Execution Details operational records. I still only see the First and Last iteration loops. I have tested 3 of the 4 'Reporting' levels
- 'Basic: Runtime states and durations only'
- 'Full: Action configuration and runtime values (for debugging only)'
- 'Trace: All values (for testing and Support only)'
I will test a few more times, focusing on observing the results when I define a System Flow Execution Settings {sys_flow_execution_setting} record that is set to the fourth reporting level of 'Off'.
This confounding behavior appeared only recently in Service Now Flow Designer/Workflow Studio (within the last 2 to 3 months). I used to be able to see all iteration loops, of large iteration sets (50 to 100, for example), by simply setting the appropriate global Process Automation System Properties. What has happened? This new behavior is preventing me from confirming proper operation of complex Subflow and Flow customizations that we are developing, as part of our System Testing of those customizations. This would appear to defeat one of the core reasons we decided to adopt Flows, Subflows, and Actions as our default Business Process logic in Service Now. Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 03:52 AM
Hi @Varun Sharma ,
You just need to click on the down arrow to see the next record details.
Please let me know, if you it is not working.
Thank you.
Regards,
Karunakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 04:39 AM
Hi Karunakaran,
Thanks for responding, that's the query actually, i'm not able to go to next iteration, it's not working, it doesn't go to next step.
Regards,
Varun Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 01:09 AM
@Varun Sharma if it is not working with down arrow, it should be up arrow. please check.
Regards,
Karunakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 01:35 AM
It's not working with any arrow, seems to be some system property issue, thus it's not logging it, but i don't know the property name.