Test Your Work
- Open an existing Incident
- Set the value of State to Resolved or Closed
- Did the information Message appear at the top of the form? If not, debug and re-test
- If the user updating a record selects one of these two states in error and immediately sets the value of State back to In Progress, does the Info Message at the top of the form disappear?
- Open the Lab 3.1 Incident Resolved or Closed UI Policy
- Write the Execute if false script:
function onCondition(){ g_form.clearMessages(); }
- Select Update
- Open an existing Incident
- Set the value of the State field to Resolved or Closed
- Once the info Message appears at the top of the form, update the value of State to In Progress. Does the Info Message at the top of the form disappear? If not, debug and re-test
- Does the Reverse if false field need to be selected in order for the Execute if false script to execute?
- When a UI Policy condition is not met and the Reverse if false field is selected, does the reverse of what is scripted in the Execute if true field occur?