cancel
Showing results for 
Search instead for 
Did you mean: 

Cancelling a workflow takes a long long time

sycha
Champ in-the-making
Champ in-the-making
Hi,

I am using the method "workflowService.cancelWorkflow(workflowFullId)" in a webscript and this action works, but is quite long (about 10 minutes).

Is this behaviour standard ? Is there a way to decrease the time it takes to cancel a workflow ?

Thank you for your help.
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
It might be because there will be multiple instances of that workflow.
Other possible reason is there could be multiple versions deployed for that particular workflow and there are so many pending workflow instances of each version.
If this is the case you need to delete all the pending workflow instances first then check the performance.