Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Createticketjson error in passing the approval field

ankitalande
New Contributor II
New Contributor II

I pass the Approval field is approved in createticketjson but error in getting ritm number..

"{\"opened_by\":\"${if(task.requestKey!=null){com.saviynt.ecm.identitywarehouse.domain.Users.get(task?.requestedBy).customproperty1}else{'svc_syt01dev'}}\",\"cat_item\":\"IT Security Birthright Access \",\"u_subcategory\":\"Identity Management\",\"u_subcategory\":\"Access Request\",\"request\":\"${response.call1.message.result.number}\",\"requested_for\":\"${user.firstname} ${user.lastname}\",\"approval\":\"Approved\"}",

 

Is there any other feild to pass along with approval field or any other syntax for this ... please suggest this

5 REPLIES 5

Raghu
All-Star
All-Star

try

{\"body\": \"Approved by: ${approvers}\" }

https://docs.saviyntcloud.com/bundle/Dev-Handbook-REST-v24x/page/Content/Developers-Handbook.htm

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

ankitalande
New Contributor II
New Contributor II

For below approve feild in RITM I want to pass approved by default.

ankitalande_0-1710434901149.png

 

Does it works from postman


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

ankitalande
New Contributor II
New Contributor II

Can you have a ritm update postman api?   Please send for refenece. I will try postman as well.

 

ankitalande
New Contributor II
New Contributor II

From postman I am able to update..

ankitalande_0-1710481800299.png