0

When a time based workflow action is created;

  1. Does it re-asses itself against the current workflow rule or the rule criteria that it originally was triggered under before it physically triggers itself?

  2. If I update an oppty via an approval action that removes the oppty from the current wf rule criteria do I have to make sure that change "re-evaluate's the workflow rules after field change" in order for the timed action to drop out of the queue?

  3. If I do not do "2." I assume if "1." is also not true that the timed action will still take place (which is what I am currently experiencing at the moment).

  • If you create a time based workflow.If you create any record with that criteria it is scheduled based on time trigger.But even it is in queue and it again checks once again workflow at the time scheduled action. If it meets criteria then only it will fire. @Tobias Franklin – Pavan tej Jun 7 '16 at 11:40
1

You asked

Does it re-assess itself against the current workflow rule or the rule criteria that it originally was triggered under before it physically triggers itself?

If the entry criteria for the original workflow rule are no longer true, SFDC automatically removes the time-based event. Otherwise, when the time trigger occurs, the actions are executed

If I update an oppty via an approval action that removes the oppty from the current wf rule criteria do I have to make sure that change "re-evaluate's the workflow rules after field change" in order for the timed action to drop out of the queue?

No, for the reasons given above, if the entry conditions for the time-based event are no longer true due to the field update, SFDC will remove the event

From the SFDC Help FAQ doc

Will the pending actions in the queue ALWAYS trigger? No. Time-dependent actions remain in the Workflow Queue until processed or the rule criteria for the Workflow Rule are evaluated as "false." If a record no longer matches the rule criteria when the rule is evaluated, Salesforce removes the time-dependent actions queued for that record.

  • I think the issue I was having is that I might change the rule criteria and then timed actions were still occurring because those records would not be re-evaluated until the records timed action took effect, by which time it was too late. – Tobias Franklin Jun 8 '16 at 12:54
  • I got around this by creating 2 checkboxes on the record, and setting so that manually checking 1 will check the other via workflow and then on checking that field re-evaluate any other wfs on the record thus removing any timed actions that I did not want to any longer be applicable. – Tobias Franklin Jun 8 '16 at 12:57
0

If you add more or remove time triggered actions you have somehow to trigger WF rule to reevaluate the criteria, otherwise your new actions won't be scheduled (I assume this is what you are asking in 1). And to answer your second question - yes, you have to check "re-evaluate's the workflow rules after field change" to trigger WF criteria reevaluation in your approval field update.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.