How to Split a value in Email template in Sailpoint identityIQ

Which IIQ version are you inquiring about?

8.4

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

In Access Request Approval Email template the Value is coming as full DN of the AD group but i want to Split this Value and just want to display the actual group name.

How i will Split this value in the email template?

Hi, you can easily do using VTL, please refer this guide.
https://community.sailpoint.com/t5/Technical-White-Papers/Email-Template-Usage-and-Customization/ta-p/78164

direct answer to you question. you can do similar to this

#set ($splitDN = $fullDN.split(":"))

#if (  $splitDN.size() >1)
$splitDN[0]
$splitDN[1]
#end

The variables used are samples. Use proper arguments.

Please accept this as a solution if it answers your question.

Thanks,
@SivaLankapalli

1 Like

This will only work if the value is coming as String Datatype. So make sure to convert the value in String using toString() method.

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