and more in a single search tool across platforms. Read the announcement here. |
12/04/2023 06:19 AM
Hi Team,
Q1. I am implementing SNOW as Ticketing Tool, I am looking for mandatory permissions required for ServiceAccount. I searched the document, but I could not find any information. Please assist.
Q2. Is it possible to assign SNOW tickets to different SNOW groups based on Endpoint Name?
Ex: I want to assign Endpoint A,B,C to Group 1 in SNOW. Then Endpoint X,Y,Z to Group 2 in SNOW. Is this possible? If yes, Could you please provide a sample JSON for this?
12/04/2023 06:12 PM
{
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "https://rushi.service-now.com/api/746619/requestinboundscriptapi",
"httpMethod": "POST",
"httpParams": "{\"requested_for\":\"${user?.email}\",\"short_description\":\"Saviynt Request ${if(task.requestKey!=null){task.requestKey?.processinstanceid?.substring(task.requestKey?.processinstanceid?.indexOf('.') + 1, task.requestKey?.processinstanceid?.length())}else if(task.requestKey==null){task.id}} – ${if(task.tasktype==1){'Add Entitlement'} else if(task.tasktype== 2){'Remove Entitlement'}} – Requested for $user.displayname ($user.username)\",\"description\":\"Saviynt Request ${if(task.requestKey!=null){task.requestKey?.processinstanceid?.substring(task.requestKey?.processinstanceid?.indexOf('.') + 1, task.requestKey?.processinstanceid?.length())}else if(task.requestKey==null){task.id}} – ${if(task.tasktype==1){'Add Entitlement'} else if(task.tasktype== 2){'Remove Entitlement'}} – Requested for $user.displayname ($user.username) for $task.endpoint.displayName \",\"task_details\":[{\"short_description\":\"Saviynt Request ${if(task.requestKey!=null){task.requestKey?.processinstanceid?.substring(task.requestKey?.processinstanceid?.indexOf('.') + 1, task.requestKey?.processinstanceid?.length())}else if(task.requestKey==null){task.id}} – ${if(task.tasktype==1){'Add Entitlement'} else if(task.tasktype== 2){'Remove Entitlement'}} – for $user.displayname ($user.username - $user.locationdesc) for $task.endpoint.displayName\",\"description\":\"${allEntitlementsValues}\", \"assignment_group\":\"${task.endpoint.customproperty1}\"}]}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"ticketidPath": "result.reqNumber",
"successResponses": {
"statusCode": [
200,
201
]
},
"unsuccessResponses": {
"message": ""
}
}
]
}