Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/27/2024 04:52 AM
05/27/2024 08:57 AM
05/27/2024 10:47 PM
Hi,
Workflow: here it is this how it was advised by Saviynt eng. that we should use resource owner. I have removed email. templates since it includes client name.
Jobs created.
Enterprise_role_tasks_creation | Utility | Create Tasks for Future Ent Role Requests (EnterpriseRoleManagementJob) | 28-May-2024 00:00:00 | Success | 29-May-2024 00:00:00 | At 12:00 AM (Europe/Copenhagen) | ||
Enterprise_role_future_tasks | Utility | Create Tasks for Future Ent Role Requests (EnterpriseRoleManagementJob | 28-May-2024 07:40:00 | Success | 28-May-2024 07:45:00 | Every 5 minutes |
05/27/2024 10:57 PM
Have to set up the workflow in the Global Config?
The Roles Add Workflow should be configured in the Global Config.
05/27/2024 11:01 PM
Replace the Resource Owner Approval block with Manager Approval block in the workflow and check if the request is being sent to the manager or not.
05/27/2024 10:58 PM
Hi,
Yes, I have assigned it in the global config.
05/27/2024 11:04 PM
05/27/2024 11:57 PM
Hi Rushikesh,
Thank you very much, now it works and request is being generated but no emails to be sent, although the job runs, Is there any specific config for this job?
Thank you!
Ibrahim
05/28/2024 12:06 AM
Run email history job
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" + ">"}}
✅👍Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.
05/28/2024 12:46 AM
@rushikeshvartak @Iabdelmoneim For this we dont have any varibles need to create IDEA
05/28/2024 04:35 AM
Dear,
Now we are getting the following error so we are not receiving any emails, although email service works fine.
05/28/2024 11:19 AM
Please share email template , assignee variable is not exposed in template
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" + ">"}}
05/28/2024 11:44 PM
Hi Rushikesh,
Still email is not being sent.
05/29/2024 12:07 AM
Remove all code from body and add below code and in to hardcode your email
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" + ">"}}
05/29/2024 01:25 AM
Hi,
I tried and still , please can you give me sample of that email template or body.
Hi ${users?.firstname} ${users?.lastname},
Request was created with below details.
Request: ${requestid}Role Name: ${rolename}User: ${user.username}Entitlements: ${entitlementshtmltablerows}Comment: ${request.comments}
05/29/2024 11:26 PM
Just keep ${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}} in email body
06/03/2024 02:36 AM
Hi Rushikesh,
I am wondering why we are getting this error when we change something in the workflow then save it
06/03/2024 07:29 PM
Workflow ? Till now we were talking about email template. Can you confirm what's current issue ?
06/03/2024 11:07 PM
Hi Rushikesh,
If I include just ${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}} so the email is not well structured so how can we generate the email and at the sametime have it well structured.
Thank you!
Ibra
06/03/2024 11:12 PM
First we need to find variable exposed then we can do well form email templates
06/03/2024 11:15 PM
Hi Rushikesh,
Please check the ticket #INC-2029079. I attached info there.
Thank you!
Ibra
06/03/2024 11:15 PM
I can’t access any saviynt tickets as i am forum contributor
06/04/2024 12:05 AM
Hi Rushikesh,
So we get random values for the role and the account in the email and is not well structured, we just need an email notifying the user about request creation and one for manager to approve but not including all that info.
Thank you!
06/04/2024 12:16 AM
Suggested code provide possible variable based on variable prepare your email template