To ensure the ServiceNow ticket widget works seamlessly with your Staffbase platform, a few important configurations must be completed in ServiceNow. Follow the steps below to configure the settings for a smooth integration.
-
Assign the required user role
Assign users the sn_incident_task_assigned_user role. Learn how to assign a role to a user in ServiceNow. -
Set up a CORS rule
Enable the widget to fetch data from ServiceNow:- Under Rest API, choose Table API [now/table] from the dropdown.
- Under Domain, enter *staffbase.com or *yourcustom.domain.
- Under HTTP Methods, enable all options.
-
Create an ACL
- Delete ticket notifications from the ServiceNow Ticket widget, using the following parameters:
- Type: record
- Operation: delete
- Decision type: allow if
- Admin overrides: true
- Active: true
- Advanced: true
- Name:
- First dropdown: UI Notification Inbox [ui_notification_inbox]
- Second dropdown: -- None --
- Advanced Condition
- Script:
var currentUser = gs.getUserID(); var recipient = current.recipient; var result = recipient == currentUser; answer = result;
- Script:
- Retrieve status and priority values for tickets and tasks
- Type: record
- Operation: read
- Decision type: allow if
- Admin overrides: true
- Active: true
- Name:
- First dropdown: Choice [sys_choice]
- Second dropdown: *
- Data Condition
-
- Table - starts with - incident
- Table - starts with - task
-
- Delete ticket notifications from the ServiceNow Ticket widget, using the following parameters:
Comments
0 comments
Please sign in to leave a comment.