Skip to Content

How to define workflow condition to calculate time/duration to trigger an action?

Jan 03, 2017 at 06:10 PM


avatar image
Former Member

Hi Team,

I would like to know how to create a workflow rule to trigger an action when the status of opportunity is not changed in two days after its creation date/time.

I am trying to achieve it using workflows but unable to define appropriate condition for the same. How to define the condition to calculate the time (2days) from creation time,

so that the action can be triggered. I am not getting the proper condition field with approriate operator to calculate the time.

Kindly help me.

workflow.png (13.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Saurabh Kabra
Jan 05, 2017 at 06:33 AM

Hi ,

You can define a Additional field ZLastStatusChange which will be updated upon changing the status of opportunity in EVENT-BeforeSave. Declare this field as DATE data type.

["Staus Change Date"]element ZlastStausChange:Date;

Now you configure the rule as scheduled On/Before/After based on ur requirement.

Hopefully it helps!



10 |10000 characters needed characters left characters exceeded