There were three use cases i could have done.
Update a list
Schedule workflow on a list
Recursive updates
I use all three in difference scenarios.
There are four reasons for recursive model.
- you can cancel it by passing in a data structure like job that has a cancel flag
- you can keep track of count of items updated through that job object
- you can know when it is done
- you can add a sequential data type to the object
Recursive is the slowest actually, and just chose this in case i needed a cancel flag.
The fastest model of updating very large number of records is to use a combination of recursive and update a list of items btw.
Choosing recursive should have only added 1 WU for the scheduling and when i removed the create log entry, processing 3k items went from 120k WU to like 5k…
So something else is wrong.
1 Like