- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Hello,
You know how to debug Server-side scripting like Business Rule, Script include Script Actions etc.., using Script tracer, Script Debugger, Session log
I want to share you with you all how to debug UI policy ServiceNow using the below methods
Navigate to the System Diagnostics > Session Debug > Debug UI Policies
Click on confirm button
UI Policies debugger will be activated
To open the JavaScript debug window use “ctrl+shift+i” or right click on the browser select “inspect”
Open a New/Existing incident record
I have created a UI Policy to make the description field mandatory and clear the value to true when subcategories were selected as antivirus
On the debug window you can see the below results
And, if we are using the UI 16 interface you can open the JavaScript log
Open a New/Existing incident record
To disable the Debug UI policy
Navigate to System Diagnostics > Session Debug > Disable UI Policies Debug
Click on Confirm button
Thank you,
Srikanth
- 1,740 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.