Hi,
Is it possible to include additional attributes of the recipient (i.e. the person for whom the request is submitted) in the Access Request Reviewer email template?
I came across an example in this post:
Retrieve identity attributes in Access Request Reviewer notification - SailPoint Developer Community
I tried the following:
#set($spctx = $spTools.class.forName("sailpoint.api.SailPointFactory")
.getMethod("getFactory", null).invoke(null, null).getCurrentContext())
#set($identity = $spctx.getObjectByName(
$spTools.class.forName("sailpoint.object.Identity"),
$requestedForIdentityName))
Get email value from context: ${identity.email}
But it doesn’t seem to work.
Any idea what I might be missing, or if there’s another approach to access the recipient’s attributes by usint this Out to the box email template ?
Thanks in advance!