Does scheduled workflow have a limit as to the num...
# general
l
Does scheduled workflow have a limit as to the number of records it can update in a single execution? I have 4,000 records to be updated but the WF didn’t execute on them although they’re part of the saved search.
m
I’m not aware of a limit. Are you sure it’s not still running? I’ve used a WF to update 150,000 records before. Definitely not the best use of a workflow but sometime you’ve go to do what you have to
m
I've noticed in testing scenarios it would only run for some random amount. 20 I think.
l
The WF status is released. It runs against other results of the saved search but not for certain ones. Hmmmm
m
Sounds like you have some testing to do!
l
yeah, I thought it’s as simple as “scheduled WF will run only for the first x results”. lol
m
If you enable logging and review one of the 4,000 records maybe there is some error happening that is stopping it from updating the record. Like the workflow might be running on it, but the actions may not be taking place because of some other error happening
s
yeah, highlight one that missed/failed, turn on logging, limit the search to that record, run in test mode, check the WF logs on the record.
l
Thank you all. Interestingly, it didn't run at all against those records. There are no workflow logs. I can literally see them in the saved search results.