We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Binding Variable to fetch the list of the Roles in Transfer email notification

Sanjeevini
New Contributor III
New Contributor III

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

6 REPLIES 6

rushikeshvartak
All-Star
All-Star

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 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sanjeevini
New Contributor III
New Contributor III

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?

Alternative will be creating custom jar & sending email or analytics


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

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.

Its not feasible currently Enhancement request below

https://ideas.saviynt.com/ideas/EIC-I-3874


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

#2 

${entitlement_value_list.size()}
${service_accounts_list.size()}

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.