Process Builder's scheduled actions re evaluate if trigger criteria change - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
410  Points
Open
Idea has been posted. Give it an upvote or downvote.

Process Builder's scheduled actions re evaluate if trigger criteria change

Process Automation

When Process Builder triggers a scheduled action it never re evaluates that action to see if after the alloted time has expired it should still execute the action
  • For processes that are set to run when a record is created, Salesforce never reevaluates the record with that process. Scheduled actions remain in the queue, even if the record no longer meets the associated criteria when the scheduled actions are executed.
https://help.salesforce.com/apex/HTViewHelpDoc?id=process_limits_scheduled.htm&language=en_US

Example
A users logs a chatter question process builder fires with its critera set to be on creation and CommentCount = 0, a schueduled action is created so that in 24 hours a case is created to deal with the question.

An hour after the question is posted a user answers the question and/or the answer is marked as best (CommentCount <>1 and BestAnswerId <> Null).

There is no no longer a need for teh case that is scheduled to be created in 23 hours.

Merge Idea · Flag

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.