Activity › Forums › Salesforce® Discussions › How to deactivate flow through WorkBench?
-
How to deactivate flow through WorkBench?
Posted by Shubham on July 28, 2017 at 12:40 PMPlease Write Procedure – How to deactivate flow through WorkBench?
shariq replied 7 years, 9 months ago 4 Members · 3 Replies -
3 Replies
-
Hello Shubham,
you can use the workbench Migration feature to deactivate flow through workbench.
you can refer below given Link :
https://help.salesforce.com/articleView?id=000221117&type=1
- [adinserter block='9']
-
You can use Workbench feature and then deactivate flow through metadata when a process is installed using a managed package and that process references a custom object that isn’t in the target org. In this case, the process is active and can’t be edited using the Process Builder.
Resolution
Follow these steps to deactivate a process.1. Log into Workbench. Read more here about Workbench.
2. Use Workbench to retrieve metadata components and then download those components in a .zip file.
Read about Metadata for more information.3. Modify the flowDefinition file (contained in the .zip file you downloaded) by specifying a value of 0 in activeversionNumber.
Note that the flowDefinition file is available only in API version 34 and later.use the above link
Thanks
-
Hi,
You may need to deactivate a process in an org, for example, when a process is installed using a managed package and that process references a custom object that isn’t in the target org. In this case, the process is active and can’t be edited using the Process Builder.
Follow these steps to deactivate a process.
1. Log into Workbench. Read more here about Workbench.
2. Use Workbench to retrieve metadata components and then download those components in a .zip file.
Read about Metadata for more information.3. Modify the flowDefinition file (contained in the .zip file you downloaded) by specifying a value of 0 in activeversionNumber.
Note that the flowDefinition file is available only in API version 34 and later.Example package.xml file contents to pull the initial Flow Definition file:
Hope this helps.
Log In to reply.
