โ08-07-2024 02:22 PM
I'm fairly new to Workato and feel like I'm missing something basic.
In a For-Each loop I sometimes need to log/debug what happened at each step of the loop. When I view the logs it only seems to show the last step in the loop. Is there a way to view the logs for each step in the loop?
Thanks!
Solved! Go to Solution.
โ08-09-2024 07:51 AM - edited โ08-09-2024 07:52 AM
Hi @cc-sean ,
All Developers go with this pain, but for testing purpose we log the input from the loop.
Here is screenshots
Image_1 : Adding Value from the {For each loop}
Note : Make sure that you toggle the "Send to Workato log service" as it is highlighted in Blue color.
Image_2: Output showing in the Logs { Tools -> Logs}
Here we can check all the values coming from loop.
Hope I solved your issues for time being. I will check is there way to handle it without using logs.Image_2: logs
Image_1
Thanks and regards,
Shiv Avadhani
2 weeks ago
It is quite frustrating for production workflows that you must use tasks to send loop steps for debugging. For such a big company it is surprising this has not been solved for.