Skip to main content
Nintex Community Menu Bar

Unable to delete Completed Task via API

  • January 5, 2018
  • 1 reply
  • 23 views
  • Translate

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.

Did this topic help you find an answer to your question?

Forum|alt.badge.img+16
  • January 5, 2018

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.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings