PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

ServiceNow as a ticketing System

cdavis2
Regular Contributor II
Regular Contributor II

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. 

6 REPLIES 6

SumathiSomala
All-Star
All-Star

@cdavis2 Apart from connection jSON,You need to add CREATETICKETJSON,TicketStatusJSON 

then attach this connection as servicedesk connection  in security system

https://docs.saviyntcloud.com/bundle/ServiceNow-v23x/page/Content/ServiceNow-as-a-Ticketing-System.h...

Regards,
Sumathi Somala

If this reply answered your question, please Accept As Solution and give Kudos.

cdavis2
Regular Contributor II
Regular Contributor II

I created my connection json and I am getting the following error in the logs.

cdavis2_0-1723058453549.png

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
]
}
}
}

 

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"    }
  }
}

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

cdavis2
Regular Contributor II
Regular Contributor II

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?

You need to raise access request then complete or discontinue incident in service now  and then run wsretry to reflect status in saviynt.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

cdavis2
Regular Contributor II
Regular Contributor II

Does an endpoint need to be setup as well?