Unpublish K2 Workflow/ Process


Badge +2

We have a SharePoint list which has a K2 workflow associated to it.


Due to some business needs we need to "Unpublish" or stop any new instances from being initiated when i change SharePoint list, add items for testing and so on.

 

Business need is mainly Data migration, so when we are migrating some data from one list to other no workflows should run!!!

 

Once we are done our changes, migration and testing we want to "Publish" the workflow again and run as it was running.
 

Any help is appreciated!!!


6 replies

Userlevel 4
Badge +14

You can just remove all Workflow start rights for this WF then it will not start. 


 


HTH


Vernon

Badge +2

Can you please provide a snap shot or way to do that!!

I am still confused how to do it.

Thank you in advance :)

Userlevel 4
Badge +14

Depending on what Version of K2 you have.


 


K2 workspace.png


 


K2 Management.png


 


HTH


Vernon



Badge +2

Thanks for the snaps!!

 

1 more question, if i Do not have access to K2 Workspace is there an alternative solution?

 

I dont know how much is it an alternative, can we simply go and remove all trigger conditions and publish the workflow?

 

Once my task is complete, i again configure trigger conditions as they were previous to my changes and publish(deploy). Will this workaround work?

 

 

 

Userlevel 4
Badge +14

Not that I can think of you have 3 options



  • Remove all start rights (From Workspace / K2 Management)

  • Delete the deployed workflows including history (From Workspace / K2 Management)

  • Remove Start rights via db manipulation (Not Recommended)

Badge +2

Thank you!! 

 

Will then use the recommended approach. 

 

Reply