Stop trigger recursion - Forum - Rollbase - Progress Community

Stop trigger recursion

 Forum

Stop trigger recursion

This question is not answered

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
  • 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);

     

    Regards,

    Shiva