Hi,
I have the need to update possibly 1000's of records on one entity via a batch job that a user can kick off at any point. While the job is updating those records we need to disable the plugins and workflows for those records only. The key here is while this one user is mass updating their records others will be accessing other records that need the workflow and plugin to still run.
I see how to disable the workflow or plugin global via my batch job, but I can't figure out how to disable the workflow or plugin on an individual record basis?
Thoughts so far:
1- Do this off hours, thus avoiding the need, may not be possible?
2- Put a flag on the record "Mass Update" and code the workflow and plugin to check that flag first, if checked stop if not continue. We would flip that flag before we do mass updates on those records thus isolating them.
Other options?
Thank You.
*This post is locked for comments
I have the same question (0)