Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/09/2024 08:03 AM
Hello,
I have integrated Saviynt with ServiceNow as Ticketing System, Uploading Create Ticket JSON along. We are using only one task type =2 i.e., Remove Account or Remove Access. Ticket is getting created, values are being populated correctly except Description. There are Three types of Description, mentioning below-
Only Remove Account- The below account in the application is marked for revoke. Follow application procedures for account termination.
Only Remove Access- Remove the entitlements as specified in the variables below. DO NOT REMOVE OR DISABLE THE ACCOUNT.
Remove Account+Remove Access- The below account in the application is marked for revoke. Follow application procedures for account termination.
The 3rd Condition I am not able to achieve, once ticket is created for Account Revoke and Access/Entitlement Revoke, based on the JSON condition I wrote for description it's picking up 2nd Condition description mentioned above.
If someone can help me with the description condition to fit the Remove Account and Remove Access condition, would be helpful. Thank you.
10/09/2024 08:18 AM
@dkamerkar
You try "if, elseif and else" checking for Parent task in the validation.
10/09/2024 08:29 AM
10/09/2024 08:33 AM
Hi Can you please send the Condition for parent task.
10/09/2024 08:54 AM - edited 10/09/2024 08:41 PM
You can check in allEntitlementsValues if its Remove + Revoke
${if(task.tasktype==1){'Create'}else if(task.tasktype==2 && (allEntitlementsValues==null || allEntitlementsValues.isEmpty() || allEntitlementsValues=='')){'Delete Account'}else if(task.tasktype==2 && task.source=='REQUEST'){'Remove'} else if(task.tasktype==2 && task.source=='ANALYTICS_V2'){'Remove'} else if(task.tasktype==2 && task.source=='CERTIFICATION'){'Remove'}else if(task.tasktype==3){'New Account'}else if(task.tasktype==6){'Enable Account'}else if(task.tasktype==14){'Suspend'}else{task.tasktype}}
10/13/2024 11:56 PM
Hi Rushikesh,
I have used this below condition, my task.source is only one "Certification".
\"description\":\"${if(allEntitlementsValues==null || allEntitlementsValues.isEmpty() || allEntitlementsValues==''){'The below account in the application is marked for revoke. Follow application procedures for account termination.'}else{'Remove the entitlements as specified in the variables below. DO NOT REMOVE OR DISABLE THE ACCOUNT.'}}\",
I tried to search for ParentTask in arstasks data analyzer table for tasks generated for Remove account+remove access, there was no value populated in both of the columns.
10/14/2024 10:53 AM
Please provide screenshot from tasks and data analyzer
10/09/2024 04:26 PM - edited 10/09/2024 04:28 PM
@dkamerkar are you keen to have single ticket for remove access + remove account use case?
And is it creating single ticket for all the remove access task been generated?
10/13/2024 11:50 PM
Hello, I would respond on behalf of Dnyaneshwar. Yes, we will have only one ticket created in ServiceNow for both revoke account and access.
10/09/2024 08:32 PM
Please check if this helpful:
Solved: Bindinga Variable (Dynamic attribute to pass in Cr... - Saviynt Forums - 40871
10/14/2024 11:46 PM
Will check that too, thanks Kaustubh