Hi All,
I am trying to destroy the running workflows in system by using DFC code after creating the workflow object as follows:
workflowObj.abort();
workflowObj.destroy();
I have destroyed the workflow successfully but in "dmi_queue_item" type, the attribute "task_state" is updating as "paused", meanwhile in normal rejection through Taskspace application, it is as "finished".
In my case what i need to do to update the "task_state" as "finished" in "dmi_queue_item" ?
Kindly suggest by some pointers.
Regards,
Avdhesh Gaur