Practice Debugging a UI Policy
- Select System Diagnostics > Session Debug > Debug UI Policies to enable UI Policy debugging
- Open the JavaScript Log and Field Watcher pane
- Open an existing Incident
- Select the Clear log button to remove any messages in the JavaScript Log
- Force the UI Policy to execute again by setting the value of State to either Resolved or Closed
- Locate the debugging information in the JavaScript Log for the Lab 3.1 Incident Resolved/Closed UI Policy
- Examine the debugging information for the evaluation of the condition of this lab's UI Policy. What did the condition evaluate to?
- Are the correct fields read-only or mandatory?
- Select the Clear log button to remove any messages from the JavaScript Log
- Set the value of State to In Progress
- Locate the debugging information in the JavaScript Log for the Lab 3.1 Incident Resolved/Closed UI Policy
- Examine the debugging information for the evaluation of the condition. What did the condition evaluate to?
- Examine the debugging information for the UI Policy Actions. Were the correst fields made read-only or mandatory?
- Close the JavaScript Log and Field Watcher pane
- Disable UI Policy Debugging by selecting System Diagnostics > Session Debug > Disable UI Policies Debug on the Application Navigator