and more in a single search tool across platforms. Read the announcement here. |
05/22/2023 11:52 AM
We have onboarded ServiceNow as a Ticketing System and created REQ through CreateTicketJSON. and are looking to reconcile the Ticket status back to Saviynt. We see the Ticket Status API call working in Postman, but the same call does not get the status back.
ARS Task Key has the REQ0511267 populated under Ticket ID.
Below are the details
TicketStatusJSON :
{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://xxxxxxxxxxx.com/api/now/table/sc_request?sysparm_query=number=${ticketID}&sysparm_limit=1&sy...",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}" },
"httpContentType": "application/json",
"ticketStatusPath": "result[0].state",
"ticketStatusValue":[
"Closed Complete",
"closed",
"CLOSED",
"Closed"
],
"disContinueStatusValue":[
"Closed Incomplete",
"closed incomplete",
"CLOSED INCOMPLETE"
],
"successResponses": [
{}
]
}
]
}
Logs :
2023-05-22 17:14:46,787 [quartzScheduler_Worker-11] DEBUG services.ArsTaskService - ticketId=[REQ0511267] for SERVICEDESKCONNECTION=28
....
Solved! Go to Solution.
05/22/2023 11:57 AM
Figured it out. I was using the connection name incorrectly.
06/07/2023 06:26 AM
I am getting a similar error. What specifically did you change in the ticketStatusJSON to fix the issue?
06/07/2023 06:29 AM
Connection Name in the connectionJson should match the connection name in the TicketStatusJSON. Please verify if they are same in your case or not.
06/07/2023 07:54 AM
Are you referring to ensuring that ["connection": "userAuth"] in TicketStatus matches ["userAuth"] in the connectionJSON?