How to add Source name to access request email templates

Currently, the default access request templates only give the entitlement name. This is not helpful to reviewers/approvers bc it does not include the source name. I have tried using the variable ${sourceName} but it breaks the template and will not send the email at all. I have searched the forum and others have the same issue but have never received a response and their topics were closed. Is there a solution to this? An entitlement name alone is not sufficient for an access request review.

Hi @ianderso426 ,

Try adding the below HTML snippet where you want the Source Name to appear in your Access Request Reviewer template body:

#if($sourceInformation)
    <p>Source Information:</p>
    <ul>
    #foreach($source in $sourceInformation)
        <li>
            <b>Source Name:</b> ${source.sourceName} <br/>
            #if($source.sourceAccountName)
                <b>Account Name:</b> ${source.sourceAccountName}
            #end
        </li>
    #end
    </ul>
#end

Which Email Templates are you customizing?

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.