All,
I am trying to create an email template that is sent out when a new AD security/description group is created from an ITShop request.
How do I reference the new name of the group created and put it in the email template?
All,
I am trying to create an email template that is sent out when a new AD security/description group is created from an ITShop request.
How do I reference the new name of the group created and put it in the email template?
Assuming that the base object of your mail template is set to ADSGroup you could reference any property of the group by using the $-Notation.
In your example this would be $CN$ or $DisplayName$ or whatever property you want to use.
You will find more information in the online documentation.
The link is for version 7.0.1 but this works in version 6.x as well.
The easiest way for your use-case, is to customize the process VI_ESS_PersonWantsOrg create AD group to add your process step for sending the mail. By doing that, you do not have to backtrack from the group creation process to the request.
I would add your process step after the step "Verify Group" to send the mail only when the group has arrived in AD.
The process step Create Group has an OUT-parameter uidADSGroup that contains the UID of the ADSGroup that got created by the request.
If you need data from the request in your mail template you could use additional parameters by filling the process step parameters ParamName1... and ParamValue1... and using the $PC(<ParameterName>)$ notation.