Activity Forums Salesforce® Discussions How to deactivate flow through WorkBench?

  • Aman

    Member
    July 28, 2017 at 12:50 pm

    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

     

  • Parul

    Member
    September 17, 2018 at 6:44 am

    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

  • shariq

    Member
    September 18, 2018 at 2:03 am

    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.

Popular Salesforce Blogs

Popular Salesforce Videos