+ Start a Discussion
TrevanTrevan 

How to automatically stop a scheduled action in process builder

How can a scheduled action be automatically stopped (process builder) when the value of a field changes?
Best Answer chosen by Trevan
Kiran RKiran R
Hello Trevan, 

For processes that are set to run when a record is created or edited, scheduled actions remain in the queue only as long as the criteria for those actions are still valid. If a record no longer matches the criteria, Salesforce removes the scheduled actions for that record from the queue.

https://help.salesforce.com/HTViewHelpDoc?id=process_limits_scheduled.htm&language=en_US

All Answers

TrevanTrevan
I believe I found the answer, but I'd love verification that this is how it actually works!

From page 10 of the "Using Process Builder (Beta) (https://help.salesforce.com/servlet/servlet.FileDownload?file=0153000000365jAAAQ)",
For processes that are set to run when a record is created or edited, scheduled actions remain in the queue only as long as the criteria for those actions are still valid. If a record no longer matches the criteria, Salesforce removes the scheduled actions for that record from the queue.
Can any of you confirm that scheduled actions do not run if they no longer meet the criteria that they met when they were scheduled?
Kiran RKiran R
Hello Trevan, 

For processes that are set to run when a record is created or edited, scheduled actions remain in the queue only as long as the criteria for those actions are still valid. If a record no longer matches the criteria, Salesforce removes the scheduled actions for that record from the queue.

https://help.salesforce.com/HTViewHelpDoc?id=process_limits_scheduled.htm&language=en_US
This was selected as the best answer
TrevanTrevan
Thank you, Kiran.  Looks like we both found the same documentation, in two different places.  :)
Kiran RKiran R
No problem. Glad i could atleast validate your find :)