Req for cancelling a particular workflow activity in existing workflows

ArjitP
Tera Contributor

Hi All. We are having a tricky situation to cancel a particular workflow activity for some existing workflows. 

Could anyone provide any insights if they have done it already. I did try with some scripts that glides wf_executing table and cancels the activity if that activity is in running state. (referred the script from https://www.servicenow.com/community/now-platform-forum/skip-activity-in-workflow/m-p/1243396/page/2 ).

 

But the activity we need to cancel is yet to be in running state and we want to cancel it beforehand reason being of a complex combination of runscript and related approval condition. 

 

Kindly let us know if anyone has got any idea on this.

0 REPLIES 0