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

Symptoms

Connection type: REST
Application name - Ex: Ariba
 
Requirement : It is a ticket-based Provisioning application, when user request Ariba application it should not create ticket in target and the task status should be auto complete in Saviynt.
and if user has Ariba App and when user status is inactive in Saviynt then the ticket must create in target.  
 
Task is getting created for inactive user in Saviynt below is the ERROR 
    ERROR: Below is the same error we see in task and logs
davindersingh_1-1673045973660.png

Diagnosis

We tried keeping the Json's(i.e.,TicketJSON) in CreateTicketJSON/TicketStatusJSON to generate ticket number when user gets inactive.
 
The JSON in CreateAccountJSON - It helps to auto complete the task status when user requests the Ariba Application and it works
 
And in Security System we have added the Connection name in both Provisioning Connection and Service Desk Connection. This is not the correct way to add ticketing connection in Both Service Desk Connection and Provisioning Connection but this use case can be achieved and the auto completion of status for Create user worked.
 
davindersingh_0-1673045973636.png

 

 

Solution

This can be achieved using the following CreateTicket JSON

{
"call": [{
"name": "call1",
"connection": "userAuth",
"url": "URL",
"httpMethod": "POST",
"httpParams": "{\"ServiceName\":\"SR_LogServiceRequestCatalog\", \"objCommonParameters\":{\"_ProxyDetails\":{\"UserName\":\"<Username>\",\"OrgID\":\"1\",\"ReturnType\":\"JSON\",\"Password\":\"<password>\",\"ProxyID\":0, \"TokenID\":\"\"},\"SR_TicketParame\":{\"ServiceCatalogID\":\"1\",\"ServiceCatalogName\":\"Adobe/Nitro Request\",\"Instance\": \"IT\",\"RequesterEmailID\":\"${user.email}\",\"SRRemarks\":\"Request to ${if(task.tasktype==2){'Remove Account in ' + endpoint?.displayName+' Application<br>UserName:' + user?.username + '<br>DisplayName :' + user?.displayname } else if(task.tasktype==14){'Disable Account in ' + endpoint?.displayName+' Application<br>UserName:' + user?.username + '<br>DisplayName :' + user?.displayname }}\"}}}",
"httpContentType": "application/json",
"ticketidPath": "TicketNo",
"successResponses": {
"Message": "Successfully saved the service request."
}
}]
}

Version history
Last update:
‎01/09/2023 11:06 AM
Updated by:
Contributors