asangam1
(Akhil Sangam)
May 21, 2025, 1:40pm
1
I have tried the Below Method but unfortunately it is not working for me . Any leads are much appreciated .
#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))
#set ($department = $identity.getAttribute(“department”))
Thanks in advance !
Carlatto
(Carl Nelson)
May 21, 2025, 3:31pm
2
In email templates, you should be able to use
${<objectVariable>.<property>}
Example: ${user.department}
asangam1
(Akhil Sangam)
May 21, 2025, 3:33pm
3
i need requestee’s details @Carlatto . tried this but no luck
Carlatto
(Carl Nelson)
May 21, 2025, 3:37pm
4
Access Request Reviewer email templates use Version 1 Global Variables. Unfortunately Version 1 doesn’t allow you to do what you are wanting to do. Maybe someday Sailpoint will convert the template to use Version 2.
2 Likes