Stop trigger recursion

Posted by Elmer Berico on 05-Jun-2017 07:43

Is it possible to stop recursion after a certain condition/task is meet?

Example a reminder to a recipient  runs  everyday for 5 days after creation of document, when the recipient performed the task on 3rd day and trigger should stop sending reminder.

All Replies

Posted by Shiva Duriseati on 15-Jun-2017 04:04

Hi Elmer,

Please correct me if I am wrong. Are you updating any field after condition/task is met? If that is the case you can use this field to determine whether to execute the trigger or not.

Example:(For trigger of type "Send Email")

return (("{!isTaskDone}"==="Yes")?false:true);




This thread is closed