- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 10:02 PM - edited 02-15-2024 10:04 PM
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.
Thanks in advance!
Solved! Go to Solution.
- Labels:
-
ITSM
-
Scripting and Coding
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 09:07 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 01:20 AM
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.