Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/06/2022 04:25 AM
We would only want a ticket created in Salesforce for a new Active directory account.
Can anyone help me how can we implement this in saviynt.Currenlty I am using service desk option from the security system and selecting the sevice desk connection but it is creating the ticket at the time of account creation and deletion both but We need the ticket creation only at the time of Active Directory account creation.
10/06/2022 05:10 AM
Use if else conditions in ticket json so that it won't trigger ticket creation for delete account
10/06/2022 05:22 AM
{
"call": [{
"name": "call1",
"connection": "acctAuth",
"url": "xxx",
"httpMethod": "POST",
"httpParams": "{\"ticket\":[{\"eeid_c\":\"${user.employeeid}\",\"Subject\":\"${endpoint.customproperty1} ${user.firstname} ${user.lastname}\", \"Description\":\"${endpoint.customproperty2}\", \"Cust_Type_c\":\"${endpoint.customproperty3}\", \"Item_c\":\"${endpoint.customproperty4}\", \"Cust_Category_c\":\"${endpoint.customproperty5}\"}]}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"ticketidPath": "CaseNumber",
"successResponses": {
"statusCode": [
200,
201
]
}
}]
}
The above format I am using can you provide me format which I need to use for my use case.
10/06/2022 12:02 PM
"url":${if(task.tasktype==3){'https://createticket.com'}else ('https://dummy.com')}"
10/06/2022 05:15 AM - edited 10/06/2022 05:18 AM
Need information
10/07/2022 08:32 AM
{
"call": [{
"name": "call1",
"connection": "acctAuth",
"url": "xxx",
"httpMethod": "POST",
"httpParams": "${if(task.tasktype==3){'{\"ticket\":[{\"eeid_c\":\"{user.employeeid}\",\"Subject\":\"{endpoint.customproperty1} {user.firstname} {user.lastname}\", \"Description\":\"{endpoint.customproperty2}\", \"Cust_Type_c\":\"{endpoint.customproperty3}\", \"Item_c\":\"{endpoint.customproperty4}\", \"Cust_Category_c\":\"{endpoint.customproperty5}\"}]}'}else{'{}'}}",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"ticketidPath": "CaseNumber",
"successResponses": {
"statusCode": [
200,
201
]
}
}]
}
I am using the above format but I am getting below error-
Please let me know If I have to change anything in the json
10/07/2022 08:45 AM
https://help.salesforce.com/s/articleView?id=000328824&type=1
10/11/2022 03:14 AM
Hi I am not getting not much information to solve my issue