Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/12/2022 12:49 AM
Hi Team,
We have a scenario, when the user is transferred, all the access that user owns will be transferred to his manager and manager will get the email notification.
Here we are trying to display the list of access (Entitlement, Service Account and Roles) are getting assigned to his manager.
Could you help us to know the Binding Variable to fetch the list of Roles that are being assigned his manager as part of transfer and to show them in the email notification.
Thanks,
Sanjeevini S
Solved! Go to Solution.
10/12/2022 02:33 AM - edited 10/12/2022 02:36 AM
if you are doing via rule then below are varaibles
Module Binding Variables Description
User Update Rule - Email for Transfer Ownership Action | {entitlement_value_list} | Entitlement value for which ownership transfer is happening |
If above doesn’t work then
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
use above code in email template body to check variables available
10/12/2022 07:02 AM
Hi Rushikesh,
Thanks for the response.
I tried above code in email template body to check variables available.
Following are the variables available:
entitlement_endpoint_list = []
manager
service_accounts_list = []
ownerOnTerminate
user
requestor
entitlement_value_list = []
serviceaccount_endpoints_list = []
Since the variable for Role list is not exposed, Is there any other way to achieve this?
10/12/2022 07:21 AM
Alternative will be creating custom jar & sending email or analytics
01/03/2023 10:05 AM
Hi Rushikesh,
I have below follow up questions:
1. Can we control sending the mail, if the user is not owning any items, then during transfer mail shall not be sent.
2. Any binding variable to get the count of items transferred, instead of showing the list.
01/03/2023 10:19 AM
Its not feasible currently Enhancement request below
https://ideas.saviynt.com/ideas/EIC-I-3874
01/04/2023 05:21 AM - edited 01/04/2023 05:21 AM
#2
${entitlement_value_list.size()}
${service_accounts_list.size()}