Not sure if there is a way to do this but i have not seen it. Hypothetical use case. So if you have a trigger that emits say 10 records. I would like to do a particular action only at the first iteration OR on a set number. Is there a way to know within the automation that i am on iteration 5/10 and be able to set a condition on that to do a particular action? I assume there is a field that tracks this because if i am watching in the UI i can see the status of loop 5 of 10 but are those fields available to be used during processing?
The Iterator control in automations does emit an iteration number, but that won’t help to know about the trigger row number being processed.
To know which trigger row number is being processed, you could modify the trigger assembly to add a node or attribute containing a row number to each trigger XML data row.