Skip to main content

Hi All,

I am trying to delete the completed instances via .NET API. Using Managment API i am calling DeleteProcessInstances method and passing ProcID to it, but it giving me error "28012 Process instance not found".

 

below is code snippet for same.

 

 WorkflowManagementServer WFserver = new WorkflowManagementServer();

 WFserver.DeleteProcessInstances(4688, true);

 

 

Please let me know how i can delete completed instances,

 

Thanks in advance.

I don't believe there is a way out of the box to delete a process instance once it has been completed. You can delete all other processes in any of the following states – Active, stopped, error. However, you can archive the reporting data which will remove it from reporting, but there is no way to specify a specific process or process instance – It would archive all completed instances within the date range specified.


Reply