+ Start a Discussion
Satheesh Gopalakrishnan 8Satheesh Gopalakrishnan 8 

Timebased workflow

I have a timebased workflow with field update action. Based on field update a trigger will clone the opportunity with new contract dates. Its like renewal of opportunity based on tenure of months.

But the field update action is failing in few occasions. I had enabled "Re-evaluate rule..." option too. But still the action fails. Can anyone please suggest any option to identify the root cause for this?
Nisha WarrierNisha Warrier
Hi Satheesh,
It will be more helpful if you can identify the specific scenarios.Still , does the order of execution matter?Triggers execute before Field update.
The order of execution (with Apex) is as follows:

1. All before triggers execute
2. System validation occurs, such as verifying that all required fields have a non-null value, and running any user-defined
validation rules
3. All after triggers execute
4. Assignment rules execute
5. Auto-response rules execute
6. Workflow rules execute
7. Escalation rules execute
8. Post-commit logic executes, such as sending email