Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/06/2024 04:31 AM
I am creating an email template for approval access requests and want to inform the user about the timeline for completing the request. Is there a way we can include the anticipated SLA in the email, similar to what we display in the UI?
For instance:
Congratulations! Your access request, Request ID: ${requestId}, has been approved, granting you access to Application: ${applicationName}. IMPORTANT – Now that the request has been approved, it will take approximately ${slaHours} hours to fulfill. Please do not attempt to access the application until this timeframe has passed.
Binding variables to use:
Question for the Team: Can we implement the email template in this way by pulling the anticipated SLA data (${slaHours}) from the same field we use to display it in the UI?
Concern: My main concern is whether we have access to the SLA data at the point when the email is generated and if the binding variable ${slaHours} can be reliably populated in the email template. Additionally, can we ensure that the ${applicationName} variable correctly identifies the application or specific access requested? If there are any technical limitations or alternative methods to achieve this, please let me know.
06/06/2024 12:48 PM
Currently this is not supported you can include Due date in email or mention when request will expired / escalated to next level
06/06/2024 06:01 PM
what is the biding radiable for those ?
06/06/2024 07:19 PM
what about user id? any way we can import this in the email template?
06/06/2024 07:40 PM - edited 06/06/2024 07:40 PM
To get what variables are present to use in the email template, check 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:
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
06/06/2024 08:11 PM
ok do we have
06/06/2024 08:55 PM - edited 06/06/2024 08:56 PM
approvers info
${assignee.email}
${assignee.firstname}
${assignee.lastname}
06/07/2024 02:46 AM
thanks. What about
06/07/2024 03:16 AM
Another question: After creating a template, how can we pre-configure it so that this email template is automatically used when that type of request is submitted? For example, a request created template.
06/07/2024 06:01 AM
You can find all variables using below code
To get what variables are present to use in the email template, check 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:
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
06/07/2024 06:49 AM
Could you please send me a screenshot of how you are running this and how it displays the data? Additionally, how can I map the email template to create a request event? This should be triggered whenever we create an access request.
06/07/2024 06:50 AM
Add script in email body and raise request and check variables
06/07/2024 07:33 AM
I did create the email template. Now when raising a request, how to map it to point to this template when generating an email?
06/07/2024 10:34 AM
Is there a way to provide the tests on how to map a template to an event?
Like a request has been submitted. An email should be generated. How do we map this email template to this event?
06/07/2024 11:04 AM
Attach in workflow to validate variables