OBLYTECH Logo
OBLYTECH Logo

Register other applications to request policy exceptions

To let another ServiceNow application request policy exceptions, register it in the Integration Registry and add a Request policy exception action to its source table. Registration sets the target table, the exception scope and how records link. From Version 10.1, requests pass through verification and approval rules.

Plan the registration before you open the form

Setup problems often start with a registration that was opened before the team agreed on what a request should cover. Before you go to the Integration Registry, write down four things: the source table where users will ask for an exception, the table the exception applies to, whether each exception covers one record or a group, and which entity in the compliance data should receive the link. Each form field then answers a question you have already settled.

Start with one source application and one target table. Test that pair end to end before you add a second. Draft the reason choices and approval criteria at the same time, since requesters pick reasons and approval rules decide who receives each request.

If you are new to the Policy Exception record itself, read ServiceNow policy exception setup first, then return here for the registry fields. For help planning this work, see ServiceNow implementation.

Fill in the Integration Registry form

Go to All > Policy and Compliance > Policy Exceptions > Integration Registry, select New, and complete the form in the order below. Several fields appear after an earlier choice, so the visible fields change as you work through the form. Save the record once each section matches your plan.

Name the target table and the exception scope

Enter a name for the registry entry, then select the Policy exception target table. This is the table on which the policy exception is applied. Next, choose a value for Exception applied on.

One target record applies the exception to a specific record. You then select the assessed object in the Compliance data source registry, and Source type fills in as Controls. All target records applies the exception to all records on the target table, and Source type auto-populates as Control objective. Because Source type follows the scope choice, settle the scope first.

Map the entity with the correct relationship

The Relationship field tells the form how the entity connects to the policy exception. Select Reference field when the entity is a field on the Policy Exception table. Then enter, in the Entity field, the name of the field that points to the entity table, sn_grc_profile.

Select Related list when the entity sits in a related list. The form then asks for a Mapping table, a Policy exception target field that points to the Policy Exception table, and an Entity field in the mapping table. Check each field name against the mapping table before you save, since a misspelled name is easy to miss in a long form.

Set the Request Source section

Complete the Request Source section when the request starts from a table other than the Policy Exception target table. Enter that source table in the Table field, then choose a Relationship with the same two options. A reference uses a Request source field on the Policy Exception table. A related list uses a Mapping table, a Policy exception target field and a Request source field inside that mapping table.

If the requesting table and the target table are the same, leave the section empty.

Attach a questionnaire and define reason choices

The Exception questionnaire field under Questionnaire Details takes a questionnaire template. Pick the template that matches this application’s requests, since the questionnaire is generated from that template.

Save the record. The Reason Choices related list then appears. Add the reasons a requester can select to explain the request. Define reasons that fit your specific situation, because requesters use them to explain the purpose of the request.

Assign roles action by action

The roles differ by action. Assign each one to the action it covers rather than granting a single role across the whole area.

  • Registering the application in the Integration Registry: sn_compliance.manager.
  • Creating the Request policy exception UI action: sn_compliance.manager, ui_action_admin or admin.
  • Raising a policy exception from an upstream application: sn_grc.business_user or sn_grc.business_user_lite is the minimum required role.

Add the request action to the source table

Create the action on the source table unless a ServiceNow application already provides one. Vulnerability Response installs its own request action automatically when Version 10.3 is installed, so skip these steps for that application. For the exception handling that Vulnerability Response already provides, see application vulnerability response remediation rules and exceptions.

To create the action manually, follow this sequence:

  1. Navigate to All > System Definition > UI Actions.
  2. Select the table on which you want the action, then select New.
  3. Enter Request policy exception in the Name field.
  4. Select the Show update and Form button check boxes.
  5. If you select the Client option, enter the popupDispList() function call in the Onclick field. That field appears when the Client option is selected.
  6. Enter any conditions in the Condition field.
  7. In the Script field, enter a script that loads the policy exception utilities and calls the create function. The argument for that function varies based on the integration, so set it for the integration you are building.
  8. Save the UI action.

Creating a list view that shows policy exception target records on the Policy Exception form is optional. Add it if your reviewers need to find those records quickly.

Check the request path end to end

Test the registration with one record that you can clean up afterward. Saving the registry entry does not show whether requests link correctly, so inspect each step of the path.

  • Open the test record in the source application and confirm the Request policy exception action appears on its form.
  • Confirm the policy list is filtered to the categories you selected in the Policy categories field.
  • Confirm the questionnaire that appears belongs to the template named in the registry entry.
  • Confirm the reason choices you defined appear to the requester.
  • Open the resulting policy exception and confirm it points to the record the request started from.
  • Confirm that verification runs before the request goes to approvers, and that the approvers match your approval rule.

Design verification and approval rules around the scope

Verification rules check the accuracy and completeness of a request before it goes out for approval. Approval rules define the criteria that decide who receives a request, using risk rating, policy or control objective. You can define multiple levels of approvers for an application.

Write each approval rule so you can state, in one sentence, which criterion sent a request to a given approver. Overlapping criteria make it difficult to explain why a particular approver received a request.

If the requests you plan overlap with configuration compliance, compare the approval path with managing configuration compliance exception requests before you assign approvers.

Troubleshoot a registration that does not route requests

Start with the scope and relationship fields when a request misroutes. The fields below them depend on those two choices, so a mismatch there shows up in each later step.

  • Source type is not what you expected: Source type fills in from Exception applied on. Change the scope choice rather than the Source type value.
  • Related list links fail: confirm the Mapping table, the Policy exception target field and the Entity field name match the mapping table exactly.
  • Requests from another table do not link: confirm the Request Source section is complete, since its fields apply when the source is a table other than the target table.
  • The action does not appear on the form: check that Show update and Form button are selected and that the Condition field does not exclude the record.

After you fix a setting, rerun the test with a new record.

Broader design choices, such as how many applications to register and how to group policies, are covered in policy and compliance management best practices.

Questions about registering other applications for policy exceptions

What kind of request suits this setup?

The example is a problem that relates to a group of incidents that cannot be resolved for a specific duration. The registration can point at any table, such as Problem or Incident, so the same pattern fits other records where a time-bound exception is the right answer.

Which release starts the feature?

Requests from other applications start at Version 10.1 of Policy and Compliance Management. Users from any ServiceNow application can request policy exceptions from the New York release onward. Confirm which of those releases your instance runs before you plan the rollout.

Where do the questionnaire questions show up?

Questionnaire questions can be included in risk assessments created from templates. A registry entry is associated with one template at a time, so the questions you add to that template are the ones that reach the assessment.

Why does the policy list look too long for a requester?

The policy list narrows to the categories chosen in the Policy categories field. Choosing the Vulnerability Response category, for example, filters the list to policies in that category when a request comes from that application. If the list still includes unrelated policies, review the categories on the registry entry before changing anything else.