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
AnastasiyaAAnastasiyaA 

Automated Opportunity Stage Change to Closed Lost Based On Close Date

Hi guys,
Workflow and Process Builder only work when the Oppt is edited or created. What should I do to automate the process of changing the status of the Oppt to Closed Lost after 30 days of the Close Date?
Any suggestions?
Thanks!
Maheshkumar Selvaraj 10Maheshkumar Selvaraj 10
Hi AnastasiyaA

You can change the field status after specific time period by implementing 'Scheduled Actions' in Process Builder. It is similar to 'Time Dependent ' Workflows. Like in workflow, you have to enable the checkbox (Do you want to execute......)in Criteria Selection node.
User-added image
deepak kumawatdeepak kumawat
@Mahesh, you are right.
AnastasiyaAAnastasiyaA
@Maheshkumar  The Process Builder and Workflow Rule are working ONLY if the record was edited (created), but I would like to change the status automatically. That requires some code writing.
Can you help me with that?