Skip to main content
Solved

Reaching the end of repeating group in Automation

  • Jan 13, 2024 10:58 AM UTC
  • 2 replies
  • 106 views

Forum|alt.badge.img+6

I would like to know when a repeating group in Automations is finished. I try to use a number field and update it incrementally but the formula does not seem to work in Automation. 

Is there any other way?

Best answer by kuovonne

There is no good way to tell when a repeating group in an automation is finished from within the repeating group. This is in part because there is no guarantee that items in the list will be processed sequentially. Items in the list could be processed simultaneously or out of order. 

This you will need to use something outside of the automation to determine when the repeating group is over. This will depend on how your list is generated. For example, if your automation processes linked child records, you could have the automation update a field that says the child record is done, and then have a rollup on the parent record check if all records are done. Finally, have a second automation that triggers off the rollup to do whatever additional processing that you need. 

View original
This topic has been closed for replies.

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • Jan 13, 2024 5:20 PM UTC

There is no good way to tell when a repeating group in an automation is finished from within the repeating group. This is in part because there is no guarantee that items in the list will be processed sequentially. Items in the list could be processed simultaneously or out of order. 

This you will need to use something outside of the automation to determine when the repeating group is over. This will depend on how your list is generated. For example, if your automation processes linked child records, you could have the automation update a field that says the child record is done, and then have a rollup on the parent record check if all records are done. Finally, have a second automation that triggers off the rollup to do whatever additional processing that you need. 


Forum|alt.badge.img+6
  • Author
  • Known Participant
  • Jan 14, 2024 1:26 AM UTC

There is no good way to tell when a repeating group in an automation is finished from within the repeating group. This is in part because there is no guarantee that items in the list will be processed sequentially. Items in the list could be processed simultaneously or out of order. 

This you will need to use something outside of the automation to determine when the repeating group is over. This will depend on how your list is generated. For example, if your automation processes linked child records, you could have the automation update a field that says the child record is done, and then have a rollup on the parent record check if all records are done. Finally, have a second automation that triggers off the rollup to do whatever additional processing that you need. 


Thank you very much. I successfully did as you suggested.