You need to sign in to do that
Don't have an account?
Pranav S Sanvatsarkar
How to stop recusrion of queued jobs?
Hello there,
Scenario,
Thanks in advance.
Scenario,
- I have a ContactTrigger which enqueues a Queueable Job
- I updated contacts through Batchable Apex to see the behaviour
- Batch execution is successful
- Queued job is recursively getting executed and I am not able to stop this recursion
Thanks in advance.
You can handle recusrion of trigger, so job will not execute in queue. Please refer this link : https://help.salesforce.com/apex/HTViewSolution?id=000133752&language=en_US
Hope that helps :)