function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rizwan Ali 8Rizwan Ali 8 

How to change Quote status and is not change in 7 days send reminder mail?

Scenario is: If Quote status exceeds 7 days, send email reminder to record owner to follow up with quote

User-added imageUser-added imageUser-added imageUser-added image i was trying to do this but face problem in first status 
When i create Quote it can't fatch me " Status change DateTime" first time.
I want to do this Scenario with Apex Class: "If Quote status exceeds 7 days, send email reminder to record owner to follow up with quote
"
Naval Sharma4Naval Sharma4
I think you need to approach this problem in a different way.

Create a new DateTime field "Status Change Reminder" and populate that field only when Quote Status changed. So workflow rule will get fired when Quote Status change and you will get a datetime when you need to scheulde timely trigger action. You can scheudle that action either using the process builder or workflow and can do whatever you want in that action.