It does not seem to include the following class:
com.sailpoint.notification.template.util.TemplateUtil
In fact the whole sailpoint.notification package is not visible here.
Could this one be added perhaps? It is being used for the version 2 templates.
The reason we need to view the java docs for this class is the following:
For version 1 templates we can decide who should receive the emails and who should not by replacing the subject of the email template by: #if( ${user.notifySetting} == “doNotNotify” )no_send#{else}#end
here, notifySetting is a custom identity attribute that we have defined.
It looks like this is not possible for version 2 templates as it has less functionality and does not support retrieving identity attributes (except id, name, email, phone)
Documentation for this can be found here: Available Email Templates - SailPoint Identity Services
To truely convince ourselves that this is not possible, we want to inspect the java docs to see if there are any methods available to help us fetch this identity attribute anyway from within the email template subject.
I spoke with our engineering team about this issue. In the short term, the attributes associated with v1 or v2 templates will remain as they are as we transition over from CC. However, we are looking to fix notifications and templates, in general, and are planning to make sure that all attributes are available for all templates in the future.
Thank you for your response @tyler_mairose.
I’ll stay tuned until the version 2 templates have (at least) the same capabilities as the version 1 templates, such that we can also configure who can receive those emails, by replacing the subject with: #if( ${user.notifySetting} == “doNotNotify” )no_send#{else}The real subject text#end
Until then identities who should never receive emails from IDN might still receive version 2 emails.