You need to sign in to do that
Don't have an account?
Glenn Nyhan 54
Turning off a Process Builder Process Manually
Can a Process Builder Process be turned off manually keep it from firing) using let's say a checkbox if you don't want to fire? Or maybe a Flow script that gets trigger manually?
Ben Edwards has a set of tools which includes one called Salesforce Switch, which enabled you to do this.
- Toolkit for Salesforce https://cloudtoolkit.co/
- Salesforce Switch https://sfswitch.herokuapp.com/
He has also put the source code on GitHub:- GitHub: Salesforce Switch https://github.com/benedwards44/sfswitch
Also, there is a lightning component to allow on mass enable/disable:- Enable/Disable Process Builder Processes all at once https://salesforce.stackexchange.com/questions/226587/enable-disable-process-builder-processes-all-at-once/226926#226926
At it's core, it uses the Tooling API.Getting Flow/Process Info Updating Flow/Process Info With JSON: NOTE: the ?_HttpMethod=PATCH is only required if you're calling from Apex.
Hope this helps.
Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra
But you can do one small trick ..
Create a checkbox on the user ( by pass process __c )
Check this checkbox is checked or not .. If check box is not checked then only execute the process builder actions
Wow, these are both great answers and much appreciated. Let me try them out and get back on which answer was best, even though they both fit my need.