Workflow runscript is cancelled

Geet Burande
Tera Contributor

Hi all,

In the below image run script is becoming cancelled and workflow is end. In the run script, scripting also working fine that I was checked in background script. Can anyone please let me know reason for cancelling run script.

 

workflow error.png

 

Thanks in advance!

 

1 ACCEPTED SOLUTION

Hi @Geet Burande ,

 

If my response helped you could you please mark the response as "Solution Accepted", so that it can benefit other users who visit this post.

 

Thanks,

Danish

View solution in original post

5 REPLIES 5

Amit Verma
Kilo Patron
Kilo Patron

Hi @Geet Burande 

 

Can you please check on below points :

 

1. Check for business rules that executes on the same condition or perform same operation that you are trying to do with the run script activity. Look for Business rules that contain "cancelWorkflows()" method and verify if any of them is conflicting.

 

2. Check for any fix scripts setting wf_executing table records to cancelled.

 

3. Try validating the workflow to check for any warnings or errors.

 

Refer below support posts :

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0854497

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724386

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.