ServiceNow
Connect a ServiceNow instance to Ploy to see every user in it, the roles each user holds, whether they are active, and who belongs to each group. Ploy can also create users, deactivate and reactivate them, delete them, give or remove roles one at a time, and add or remove group members.
This integration is in beta
The ServiceNow integration is in beta. It was built from ServiceNow's Table API documentation and has not yet been checked against a live ServiceNow instance, so some details may need adjusting once customers connect it. Beta does not limit what the integration can do.
The first step of setup is a consent checkbox. Ticking it lets Ploy capture redacted error data when a request to ServiceNow fails: the error response ServiceNow sends back, with personal details, passwords and other secrets removed. Ploy uses it only to fix problems with this integration. You must tick the box to continue.
What Ploy reads
Every user in the instance (
sys_user), with their username, email, name, last sign-in, and whether they are active or locked outEvery role each user holds (
sys_user_has_role), including roles they hold through a group or another role, shown by the role's nameThe role catalog (
sys_user_role), so any grantable role can be given from Ploy even before anyone holds itEvery group (
sys_user_group) and its members (sys_user_grmember)
Ploy does not read tickets, tasks, records in other tables, or anything outside these five tables.
Before you start
Ploy signs in to the ServiceNow Table API with the username and password of a ServiceNow user. Create a dedicated integration user for Ploy rather than using a person's account.
You need an administrator who can create users and assign roles in the instance.
Know your instance name:
acmeforacme.service-now.com. Each instance (production, test, development) is its own connection.
Create the integration user in ServiceNow
Sign in to the instance as an administrator and open User Administration > Users.
Create a new user for Ploy, for example
ploy.integration, set a password and tick Web service access only, so the account cannot be used to sign in to the ServiceNow interface.Give the user a role that can read and change users, groups, group members and role assignments, such as user_admin. Ploy sees and changes only what this user's roles and your instance's access rules allow. To give or remove roles that carry elevated privileges, the integration user may need more; your ServiceNow administrator can decide how far to go.
Save the user.
Connect ServiceNow in Ploy
In Ploy, open Integrations and choose ServiceNow.
Tick the beta consent checkbox.
Enter your instance name, for example
acme. You can paste the full address you sign in at; Ploy keeps only the instance name.Enter the integration user's username and password.
Click Test. Ploy reads one user to check the instance name and sign-in work.
Finish the setup. The first scan starts straight away and repeats every six hours.
Things to know
Inactive users show as inactive and lose their access in Ploy. Locked-out users show as blocked but keep their roles, because an administrator can unlock the same account.
Users marked Web service access only or as internal integration users show as service accounts, not people.
Roles are given and removed from the ServiceNow instance's page under Resources in Ploy. A role someone holds only through a group or another role cannot be removed there; remove it from the group or the containing role in ServiceNow.
Removing a user from Ploy deletes their ServiceNow user record. ServiceNow recommends deactivating users instead, because the record is linked to tickets and history. Use Disable in Ploy flows for normal offboarding.
Users created from Ploy use the person's email address as their username and start with no roles. Someone who already has that username or email is left as they are.
Roles given to a group in ServiceNow are not read on the group itself; Ploy shows them on each member who holds them.
If the integration user's password changes or expires, scans stop. Update the password in the ServiceNow connection in Ploy.