Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Deploying existing workflow

$
0
0

Until now we've been in development so I used the following approach to ensure I got the correct version running.

Site Settings -> Manage Features -> Deactivate Feature (workflow)

Site Settings -> Solutions -> Deactivate Workflow -> Delete Workflow

In SP Designer connect to the site. 

   Workflows -> Select workflow and delete it.

Site Settings -> Solutions -> Upload .wsp(new) workflow of same name as one which I just deleted.

Site Settings -> Solutions -> Activate .wsp(new) workflow

Site Settings -> Manage Features -> Activate Feature (new workflow)

This works fine.  However now that we are going to production we will always have running versions of the workflows.  When I need to fix a bug I cannot do this step:

        In SP Designer connect to the site. 

             Workflows -> Select workflow and delete it

because it will kill all currently running workflows.

What is the recommended procedure to turn new code but allow exisiting workflow to complete on the prior version in whihc they were started?

Thanks.


Tom



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>