As with UI Policies, let's explore Data Policies in ServiceNow by creating one! Let's create a UI Policy that prevents users from re-opening a virtual war room, once it's closed:
- Navigate to the Virtual War Room table that we created in an earlier chapter, and click on the hamburger menu at the top-left. Choose Configure, and then click on Data Policies.
- On the Data Policies list, click the blue New button at the top-left to create a new Data Policy record. The Table field will automatically be set to the Virtual War Room [u_virtual_war_room] table.
- On the Data Policy form, set the Short Description to Prevent re-opening War Rooms, and ensure that Use as UI Policy on Client is checked.
- Add a condition to the Condition field that contains: ...