Two Useful ServiceNow Troubleshooting Tips: UI Actions and SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
1. UI Action Not Working When Isolate Script Is Enabled
Issue:
Two UI Actions were configured to provide the same functionality, with different names and visibility conditions. One UI Action worked correctly, while the other did not.
Resolution:
The affected UI Action had Isolate script enabled. After changing Isolate script to false, the UI Action started working correctly. The client-side script was using browser/global objects such as window and $j.
Recommendation:
When troubleshooting a client-side UI Action that is not working as expected, check the Isolate script setting, especially if the script uses objects such as window, $, $j, or document.
Additional UI Action Styling
Tip:
If you want to change the styling or appearance of a UI Action beyond the options provided by the standard configuration, refer to the following ServiceNow Knowledge article:
Change UI Action button color – KB1004974
ServiceNow Knowledge Article – KB1004974
2. Field Context Menu Missing in SOW
Issue:
The Field Context Menu was missing when viewing a record in Service Operations Workspace (SOW).
Resolution:
Open the affected record in UI Builder and go to Form Configuration. Locate Hide field context menu and uncheck it. The Field Context Menu will then be available on the form.
#IsolateScript #FieldContextMenu
