AnsweredAssumed Answered

deletion of completed workflow instance is taking long time

Question asked by sredrouthu on Mar 20, 2012
Latest reply on Mar 27, 2012 by sredrouthu
Hi,

  I want to delete the completed workflow instances using webscript. I am able to delete the workflow instance successfully but it is taking long time(More than 8 hours for a single workflow instance). Using the following code. Can you help me with this?

var workflowId = "jbpm$30985"
var workflowInstance = workflow.getInstance(workflowId);
workflowInstance['cancel']();

Thanks in advance.


sredrouthu

Outcomes