Skip to main content
Hi,

We have implemented a Travel Request approval workflow system, and the users are asking for a feature to 'withdraw' a request that is pending approval. In short, this is same as the 'Delete' process feature in K2.net Service Manager, but we need it to be available to individual users rather than an administrator.

Can someone point me to sample code on how we can achieve this programmatically?

Thanks in advance,
Benedict
Have a look in the Help file. Specifically at the K2Mng.K2Manager.DeleteProcessInstance method.

Hope this helps,
Ockert
I was surprised to find that there is no built in recall feature although our requirement would force us to code something custom to restrict which activity the user could recall.

Sometimes you don't want the user to be able to recall if it's gone to farr into the process, and sometimes you need to execute some code to clean up external databases if the user recalled.

Reply