Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SNOW as Ticketing System

vivekrajan
New Contributor II
New Contributor II

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?

1 REPLY 1

rushikeshvartak
All-Star
All-Star
  1. Permission check with SNOW admin[https://forums.saviynt.com/t5/identity-governance/permissions-required-for-servicenow-service-accoun... ] - Refer video on how to create account https://www.youtube.com/watch?v=nX0OT-PGjsw 
  2. You can assign to different groups based on if else conditions.
{
  "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": ""
      }
    }
  ]
}

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.