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
hemmhemm 

Swarm triggers need to check isFuture and isBatch

The Swarm app (my client is on version 3.0) calls @future methods in its triggers. If a record is updated by an @future method or a batch process, it throws an error because you can't call an @future method from a batch transaction or a future one.

 

The triggers need to be updated to check system.isFuture() and system.isBatch() before invoking those calls.  Not doing this makes the swarm app not play nice with other AppExchange apps!

hemmhemm

I do see version 3.1.0 on AppExchange now. If this was fixed in that version, I apologize for this post. I don't want to update muy customers system to check, though.