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.