Hi Team,
We are customizing the email templates for Access request for Others to retrieve the requester’s comments in the email.
As of now, we are using the following Variable to retrieve the requester’s comments ‘requesterComments’, however it’s just taking the string value and not retrieving the comments.
This is the template we have currently:
Dear ${user.name},
${requesterName} has requested the following access on your behalf:
#foreach ( $type in ${requestedObjectDetailsByType.keySet()} ) $type:
#foreach ( $detail in ${requestedObjectDetailsByType.get($type)} )
${detail.name}#if($detail.removeDate) (Access Sunset Date: ${detail.removeDate}) #end
#set( $sap = ${detail.name} ) #end #end
#if( $sap.contains("SAP/S4") )
This email does not require your approval; this is to inform you that SAP access request for ${user.displayName} was recently submitted
The request reason entered by ${requesterName}: ${requesterComment}.
#end
Thanks,
The ${PRODUCT_NAME} Team
We are receiving the following in the email received:
The request reason entered by Naga Indana ADM: $ {requesterComment}
Can someone help us in retreiving the comments from the email?