How to revert a designer (minor) version of a workflow?

  • 12 September 2019
  • 4 replies
  • 8 views

Hi All-

 

Is it possible to revert a designer (minor) version of a workflow?  We have a scenario where the major version is 3.0.0.0 and development has progressed to 3.0.0.9, however the developers browser closed unexpectidly due to a Windows patch and now the workflow hangs when loading.  We've attempted to clear browser cache and different browsers, but still unable to load the workflow.  The workflow is locked by the developer as well.  Ideally, we'd like to roll back to 3.0.0.8 of the workflow. 

 

Thanks in advance for any tips!


4 replies

Good day Jef

 

Yes it’s possible to roll back workflow to previous version. Please visit the following links.

 

Best,

Sunrise

Thanks for the reply, but we don't want to revert back to the last major version, just the last minor.  For example, 3.0.0.9 is having load issues in designer, so we'd like to revert to 3.0.0.8.

You may also look into this one: https://help.k2.com/support-services/kbt143149.

 

Best,

Sunrise

 

Badge +9

Hi Jef


 



A: Browse to K2 Management and find the workflow in the Workflow Server node and select the Versions tab. This tab shows all deployed version for the workflow in the Version column. Example 1.0.x.x, 2.0.x.x, 3.0.x.x and 4.0.x.x (Default). In this example the default version is 4.0 and there are three previously-deployed versions of the workflow. To roll back to a previously-deployed version (in this case 3.0), select version 3.0 and click Set as Default. The new default version of the workflow shows as 3.0 (Default). For more information, see Versions.

When you set a previous version of a workflow as the default, keep in mind the following:



  • Existing workflow instances are NOT migrated/changed/updated when you change the default workflow version.

  • Changing the default version only affects new instances of the workflow.

  • When you deploy a new version of the workflow, it automatically becomes the default version. Even if you previously set a different version as the default version. You may need to go back and reset the default version of the workflow if you deploy a newer version of the workflow.

  • Since SmartObjects and SmartForms always use the latest deployed version, there is a possibility that modifying the default version of a workflow might result in unintended behavior if there are newer versions of SmartObjects and SmartForms referenced by the workflow, resulting in errors or unexpected behavior. Since it is unpredictable how SmartObjects and SmartForms may be used in workflows, it is difficult to provide specific guidance, but bear this potential impact in mind when setting the default version of a workflow. Where possible, it is recommended to allow existing instances of the workflow to complete before making changes to the default version of a workflow, especially when updates to SmartObjects and SmartForms are used in the workflow.



Ref: https://help.k2.com/kb002953


 


Regards


Elvis

Reply