function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Limitation of workflows/outgoing messages and multi record updates?

Hi all,
it seems that if I use the update API call to modify more than one sObject, any connected workflow will be only triggered once per update call and not for every single sObject.
Is this a known limitation and is there a workaround maybe? The only "solution" seems to be to do single updates for every sObject, but this is very time consuming if one need to modify some 1000 records...
Cheers, Harry
Workflow will fire for every record in the update. (assuming it meets the WF criteria).

For outbound messaging, as detailed in the docs, a single soap message may contain upto 100 actual notifications.