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

Email with Mutiple entitlements requested.

saviyntGeek
New Contributor III
New Contributor III

Hi Everyone,

We were trying requesting Mutiple entitlements and post approval completion we expected to receive email of completion either including all entitlements or multiple emails for each entitlement. But we did not receive any email. 

This is working fine when we try to request single entitlement.

Wanted to understand that does Saviynt don't provide this functionality, or we are missing something.

Also, if you have any binding variable for fetching multiple entitlement in email (Add access completion), do share it we would like to test that too.

Thanks

11 REPLIES 11

NM
Esteemed Contributor
Esteemed Contributor

Hi @saviyntGeek to fields are getting populated with the ID's right?


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

saviyntGeek
New Contributor III
New Contributor III

Yes its getting populated.

We are facing issue only when we trying to send for multiple entitlements.

For single its works fine

Please validate supported variables.

Purpose :

To get what variables are present to use in the email template.

Email Template steps :

keep Advanced HTML CSS flag is checked

Keep your email Address in TO

TO /CC/BCC & Subject - Don't use any dynamic variables

Add only below code in Email Body
${this.binding.variables.each {RVkey,RVvalue -> println "$RVkey ------- $RVvalue" + "" + "br" + ">"}}

Output : using the below expression. By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:


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

Let us know if this is resolved


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

@rushikeshvartak , we have a patch scheduled for 18/09 i.e Wednesday. Lets see it this issue gets resolved after that. I will update it here once done.

Thanks

@rushikeshvartak , the email has started being sent but it only includes one single email for one entitlement, but we raised for multiple. We expect one mail for each entitlement raised in the request.

Also do we have any binding variable to get list of entitlements in the completion email.

I only see the binding variables in Role request creation email template as Entitlements: ${entitlementshtmltablerows}.

If you know about a variable, we can use in task completion do let us know.

Thanks

Share output of below code in text format 

${this.binding.variables.each {RVkey,RVvalue -> println "$RVkey ------- $RVvalue" + "" + "br" + ">"}}


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

Hi @rushikeshvartak ,

below is the output for the code.

resourceOwners ------- br> tasktype ------- Add Accessbr> manager ------- 30032br> accountOwners ------- []br> randompassword ------- Welcome123br> entitlement ------- [UL HR Write AOR Country Exclude HR_EC, UL HR Write No PII AOR Country Exclude HR_EC]br> provisioningOwners ------- br> users ------- 13999br> requestor ------- 107168br> out ------- java.io.PrintWriter@e3d91dbbr> account_password ------- XXXXXXXbr> task ------- com.saviynt.ecm.task.ArsTasks : 190br> accountname ------- 13999br> requestid ------- 2940736br> endpointDisplayName ------- ORACLE HCMbr> account_name ------- 13999br> endpointOwners ------- br> requestormanager ------- 32879br> baseUrlForEmail ------- https://hostname.saviyntcloud.com/ECMbr> user ------- 13999br> taskaction ------- Add Accessbr> account ------- 13999br


[resourceOwners:, tasktype:Add Access, manager:30032, accountOwners:[], randompassword:Welcome123, entitlement:[UL HR Write AOR Country Exclude HR_EC, UL HR Write No PII AOR Country Exclude HR_EC], provisioningOwners:, users:13999, requestor:107168, out:java.io.PrintWriter@e3d91db, account_password:XXXXXXX, task:com.saviynt.ecm.task.ArsTasks : 190, accountname:13999, requestid:2940736, endpointDisplayName:ORACLE HCM, account_name:13999, endpointOwners:, requestormanager:32879, baseUrlForEmail:https://hostname.saviyntcloud.com/ECM, user:13999, taskaction:Add Access, account:13999]

NM
Esteemed Contributor
Esteemed Contributor

@saviyntGeek is it an endpoint level email template?

${entitlementshtmltablerows3}

Should work if attached in workflow grant access block  attached in workflow


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

${entitlement} should work in your case


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

rushikeshvartak
All-Star
All-Star

There was known issue with 24.7 version please reach out to CSM to get patch applied on 24.7.3

Jira: CONN-19520


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