Reopen a Proc Instance

  • 17 March 2006
  • 6 replies
  • 0 views

Badge
Hi Guys

Can you re-open a closed instance?

6 replies

Badge +11
If you say 'closed' instance, I assume you're referring to completed instance.

Sorry, out-of-the-box functionality does not cater for this. You can however get the necessary data from the K2Log db and start a new proc instance to duplicate the old process.

Regards,
Ockert
Badge +3
Do have sample code to:

get the necessary data from the K2Log db and start a new proc instance to duplicate the old process.

thanks,
Badge +13
Is there a way to use the SDK API to uncomplete a process then use redirect to send the workitem back to a specific activity?
Badge +11
Once again, sorry, not out-of-the-box functionality. There is no way, not through custom coding nor through the API to "un-complete"/roll back a completed process instance.

Regards,
Ockert
Badge +3
ockert,

Your recomendation is good, BUT DO YOU HACE SAMPLE CODE FOR WAHT YOU ARE RECOMENDING. At least give me a link or something.


get the necessary data from the K2Log db and start a new proc instance to duplicate the old process.
Badge +13
To get the completed process' data.

/K2V3/workspaceservice/filterservice.asmx

Hopefully you stored your fields in the XMLfield then you can use GetProcxmlData method.

Sample ProcID and ProcInstID is available after you do the Search.

Reply