...
Role | Description | Setup Instructions |
---|---|---|
x_squir_si.indexer | Used for the user with which Squirro indexes the ServiceNow data. All users of Squirro Service Insights will be able to see all the data that this role has access to. | Create one ServiceNow user and assign this role to the user. That user will be used from the Squirro side to index the data. |
x_squir_si.user | Can access the Squirro Service Insights application, both on an individual incidents as well as the global dashboards. | Assign to any users or groups that should be able to use Squirro Service Insights. |
x_squir_si.admin | Can administer the Squirro Service Insights application by changing the properties. | Assign to any users or groups that should be able to administer Squirro Service Insights. |
UI Policy for Squirro Form
The 360º view on the Incident form is visible to all users by default. It is recommended to limit this to the role x_squir_si.user
and x_squir_si.admin
by creating a UI policy as follows:
- Navigate to System UI → UI Policies and create a new policy
Fill in the form as follows:
Table Incident Active Yes Short description Show Squirro section for Squirro users When to apply Conditions Leave empty - add no conditions Global Yes On load Yes Script Run scripts Yes Execute if true Code Block language js function onCondition() { var isSquirro = g_user.hasRole('x_squir_si.user') || g_user.hasRole('x_squir_si.admin'); g_form.setSectionDisplay('squirro', isSquirro); }
Execute if false Code Block language js function onCondition() { var isSquirro = g_user.hasRole('x_squir_si.user') || g_user.hasRole('x_squir_si.admin'); g_form.setSectionDisplay('squirro', isSquirro); }
Configure Squirro Indexing
...