Email Template issue

Which IIQ version are you inquiring about?

8.3

Please share any images or screenshots, if relevant.

Share all details about your problem, including any error messages you may have received.

*All of the variables are working except the RequesterDisplayName.

Is variable is input to the email template or this is calculated using some rule / login in template itself ?
check were this variable is declared ?

Hi @dikshya53,

Is it possible for you to share the template and let us know from where you are triggering this mail.

Thanks

HI @dikshya53 ,

When using this email template in a workflow, ensure that the “requesterDisplayName” argument is included in the workflow step. This value can be obtained from the “requester”.

Add the below argument to workflow step and check the email.

 <Arg name="requesterDisplayName">
        <Script>
        <Source>
            import sailpoint.object.Identity;

            Identity id=context.getObjectByName(Identity.class,requester);
            if (id != null){
            return id.getDisplayName();
            }
          </Source>
        </Script>
      </Arg>