Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/09/2022 04:24 AM
I am looking for a binding variable to fetch the comments provided by the rejector on rejecting any request. I tried using ${accessItems.collect{it.comments}} but it is giving a back the business justification and comments provided by the requestor as well along with the rejector's comment.
Please provide me a solution using which I can fetch the information I am looking for.
08/09/2022 04:33 AM
${accessItems.collect{it.comments.toString()}} This will provide both Requestor Comments & reason for rejection.
For Request comments ${request.comments}
08/09/2022 05:45 AM
Hi Rushikesh,
I only need the rejector's comment to get displayed in the email template. Can you please suggest me a suitable way to achieve it.
08/09/2022 07:59 AM
Helo @Debankita,
The coments at the request level are all stored in a single column called comments in the request tables. There is no separate columns for approved comments and Reject comments and hence you get both request comments as well as the Approval/Rejection comments (could be multiple approval/rejection comments based on the workflow)
08/10/2022 12:23 AM
Hi Rushikesh,
Can you please confirm if these variables would work in V5.5SP3.11?
As per my understanding these were not available not working
08/10/2022 04:12 AM
Please test using below code in email template if accessItems variable exposed or not.
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}