Moving errored instance to use the new version

  • 22 November 2010
  • 4 replies
  • 2 views

Badge +1

Hi,


Is there a way to move the 1000s of errored instance of K2 workflow instance to use the latest version deployed in the server.


Thanks,


Thileeban


4 replies

Badge +9

Haven't tried it with 1000s of instances but there is a feature in the Visual Studio designer under the Process Instance Management tab.


You can retry a specific error and specify the version to retry it on.  You can also check the option to retry all error instances to auto-retry for all error instances with the same error.

Badge +1

Thanks Jonny. Since the issue is occuring in production we dont have Visual Studio Designer installed in the server. Is there any other way of doing this.

Badge +9

The SourceCode.Workflow.Management APIs should allow you to do this.  However, given that the management interface is already done for you in the process management tab, I would prefer to use that.  Basically, I would normally recommend installing a copy of the designer tools somewhere in your production environment as this is mainly for process instance management and debugging.

Badge +1

Thanks for the reply johnny. Will try this in the production environment and check if it really works.

Reply