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