and more in a single search tool across platforms. Read the announcement here. |
03/15/2024 12:23 AM
Hello Team
Need to send Workflow Rejected Email to the Resource Owner as Usergroup.
I have used the below binding varaible in the rejected email,but its working.
${com.saviynt.ecm.identitywarehouse.domain.Users.findAllByIdInList(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.findAllByUser_groupkey(com.saviynt.ecm.identitywarehouse.domain.Usergroups.findByUser_groupname("GoogleLookerResouceOwner")?.id)?.userkey)?.email.join(',')}
Please can anyone provide the binding variable Resource Owner as UserGroup.
Note: Version:24.2
Thanks
Sumalatha
03/17/2024 07:07 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" + ">"}}
03/18/2024 10:19 PM
Already, i have tried printing available binding variable in the rejected email template body, I didn't find this binding variable for this.
Thanks
Sumalatha M
03/18/2024 10:31 PM
Please share variables printed
03/18/2024 11:35 PM
may i know want resource owner or user group ?
03/20/2024 03:29 AM
Please share all the printed variables and also see if the expected variable is exposed.
All the exposed variables should be printed as part of the above given expression.
You can use ${endpointowners} to send it to endpointowners.
03/20/2024 05:36 AM
Hello @adarshk
Thank you for your reply. I have tried this binding variable in Rejected Email template and Admin get this email instead of Endpoint Resource Owner.
Note: Here Resource Owner is User group.
Can you find the attached binding variable for this email.
Let me know if you have any idea on this binding variable.
Thanks
Sumalatha
03/21/2024 12:08 AM - edited 03/21/2024 12:09 AM
Attachment missing, can you please share it here.
Also, please validate if the endpoint owner is mapped correctly.
03/21/2024 01:03 AM
03/26/2024 08:29 PM
${task?.endpoint?.getOwnersEmail()}
03/26/2024 06:35 AM
Thanks for sharing the list, there is no binding variable to share the email to resource owner user group.