Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 07:43 AM
I am working with our ServiceNow counterparts to setup the connection to Saviynt. We want the ServiceNow tool be the actual ticketing system and Saviynt handles the provisioning. If I'm understanding correctly we will need to setup the connection portion in servicenow and in Saviynt we will need to create a REST connector. But I'm a little confused when it comes to the rest connector what configurations should I be setting up outside of the initial import.
Solved! Go to Solution.
08/07/2024 07:54 AM
@cdavis2 Apart from connection jSON,You need to add CREATETICKETJSON,TicketStatusJSON
then attach this connection as servicedesk connection in security system
08/07/2024 12:22 PM
I created my connection json and I am getting the following error in the logs.
Here is my connection
{
"authentications": {
"userAuth": {
"authType": "oauth2",
"url": "https://mysite.service-now.com/oauth_token.do",
"httpMethod": "POST",
"httpHeaders": {
"contentType": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed"
],
"timeOutError": "Read timed out",
"errorPath": "error.code",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Basic",
"accessToken": "Basic token"
"httpParams": {
"password": "password",
"grant_type": "password",
"client_secret": "secret",
"client_id": "clientid",
"username": "admin"
},
"retryFailureStatusCode": [
401
]
}
}
}
08/07/2024 05:53 PM
Try
{ "authentications": { "userAuth": { "authType": "oauth2", "url": "https://<domain name>/oauth_token.do", "httpParams": { "password": "<password>", "grant_type": "password", "scope": "useraccount", "client_id": "<client id>", "client_secret": "<client secret>", "username": "<username>" }, "httpHeaders": { "Content-Type": "application/x-www-form-urlencoded" }, "authError": [ "InvalidAuthenticationToken" ], "httpMethod": "POST", "httpContentType": "application/x-www-form-urlencoded", "errorPath": "error.code", "maxRefreshTryCount": 5, "tokenResponsePath": "access_token", "tokenType": "Bearer", "retryFailureStatusCode": [ 401 ], "accessToken": "Bearer token" } } }
08/08/2024 08:00 AM
Yep this worked got a successful connection. Another question I was looking at the documentation for the testing procedures and noticed that testing is done via putting a request in through Saviynt. What is or is there any documentation showing the proper testing procedures for submitting a request via Servicenow and and Saviynt retrieving the ticket?
08/08/2024 09:10 AM
You need to raise access request then complete or discontinue incident in service now and then run wsretry to reflect status in saviynt.
08/09/2024 06:11 AM
Does an endpoint need to be setup as well?