Jon G Lind
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
03-02-2026
03:41 PM
A Playbook that is not in the ReleaseOps scope will not execute
There is currently a bug in the business rule that fires playbooks for ReleaseOps in which it does not properly account for scope.
Here's how to fix it
- Select the scope ReleaseOps with the globe in the header.
- Go to System Definition > Business Rules
- Find the Playbooks: "Run Release Playbook on Preparing" and "Run Assessment Playbook when Ready"
- Change the script: Find the "triggerPlaybook" line near the end and replace it:
// Find the following line near the end: // Run Assessment Playbook when Ready (approximately line 46) // Run Release Playbook on Preparing (approximately line 20) /* sn_playbook.PlaybookExperience.triggerPlaybook(grPlaybook.name, current); */ // And REPLACE it with: const scopeName = grPlaybook.sys_scope.scope; // Don't include scope name if calling to another ReleaseOps playbook const playbookName = (scopeName == 'sn_releaseops' ? '' : scopeName + '.') + grPlaybook.name; sn_playbook.PlaybookExperience.triggerPlaybook(playbookName, current);
- 406 Views
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
