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
Freya FeigenspanFreya Feigenspan 

Process builder - Opportunity stage and Account type

Looking for the best way to build an automated process so when an opportunity is pushed to Closed Won, this automatically changes the account type to Customer. So far, we have the below:

User-added imageUser-added image

Any feedback/help would be greatly appreciated. 
Best Answer chosen by Freya Feigenspan
Vinit JoganiVinit Jogani
Hello Freya,

Yes the implementation looks good, but the process builder will excute the action every time the Opportunity is updated and Stage is 'Closed Won'. I think the action should run only when the stage is changed. for that you can add additional condition of stageName.IsChanged = true.
Hope this helps.

Criteria

All Answers

Lokesh KumarLokesh Kumar
You have already built the process builder and it looks perfect without any issues. Thanks for choosing process builder over Trigger :) 
Vinit JoganiVinit Jogani
Hello Freya,

Yes the implementation looks good, but the process builder will excute the action every time the Opportunity is updated and Stage is 'Closed Won'. I think the action should run only when the stage is changed. for that you can add additional condition of stageName.IsChanged = true.
Hope this helps.

Criteria
This was selected as the best answer
Vinit JoganiVinit Jogani
Hello Freya,

Did this solve your problem? If yes, please mark question as solved and mark my answer as 'Best Answer'