Consultee name in Consult Completion email

Rashmi
New Contributor
New Contributor

Hi Team,

We want to put the consultee's name ( username)  in the consult completion email notification. Please suggest if this is feasible. Thanks.

6 REPLIES 6

dgandhi
All-Star
All-Star

Hi @Rashmi 

Below document for reference:

https://docs.saviyntcloud.com/bundle/EIC-Admin-v23x/page/Content/Chapter06-EIC-Configurations/Creati...

 

Configuring Consult Completion Email

The Consult Completion email template is used to trigger an email to inform the required users that the consultee has completed the review.

Sample template:

Name: Consult completion

To: ${originalCertifier?.email}

Body:

The items you had consulted to have been reviewed for the certification.

Binding variables:

The following table provides a description of the binding variables used for creating this email template:

Binding Variable Description

${originalCertifier?.email}

Obtains the email ID of a previous certifier of the campaign.

${campaign?.campaignName}

Obtains the campaign name.

${users?.firstname} ${users?.lastname}

Obtains the first name and the last name of the user's manager.

${campaign?.startDate.format('yyyy-mm-dd')}

Obtains the start date of the campaign.

${campaign?.endDate.format('yyyy-mm-dd')}

Obtains the end date of the campaign.

Thanks,
Devang Gandhi
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

sk
All-Star
All-Star

If I understood correctly you are asking if you can use username to get consultee name in consult email notification right? If so then YES, below is the right parameter for it.

${users?.username}


Regards,
Saathvik

Rashmi
New Contributor
New Contributor

Hi,

We used ${users?.username} in consult completion email. However, after using that binding variable, the email was not getting triggered.

Thanks

Okay I miss understood, You are looking to get consult information in the email upon consultee completed the review. In that case it's bit tricky as documentation doesn't clearly state any variable for it. Please use below logic and share the output to see if we can derive consult information

${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}

 Also please don't use any other variable in email template. In TO use any your email and in body paste above logic to receive the email


Regards,
Saathvik

Rashmi
New Contributor
New Contributor

Hi ,

Below was the output of the email.

manager = H277841<br>

certifiers = H278175<br>

certificationUsers = <br>

delegateUser = <br>

usersManager = H277841<br>

users = H278175<br>

secondarycertifier = Rohit15.cric@staging.com<br>

certification = com.saviynt.ecm.campaign.domain.Certification : 996<br> out = java.io.PrintWriter@ac8c7ef<br> delegateEmail = <br> campaign = com.saviynt.ecm.campaign.domain.Campaign : 162<br> campaignOwnerAndTheirDelegateEmailList = <br> baseUrlForEmail = https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2F-test.saviyntcloud.com%2FECM%2F&da...>

[manager:H277841, certifiers:H278175, certificationUsers:, delegateUser:, usersManager:H277841, users:H278175, secondarycertifier:Rohit15.cric@staging.com, certification:com.saviynt.ecm.campaign.domain.Certification : 996, out:java.io.PrintWriter@ac8c7ef, delegateEmail:, campaign:com.saviynt.ecm.campaign.domain.Campaign : 162, campaignOwnerAndTheirDelegateEmailList:, baseUrlForEmail:https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2F-test.saviyntcloud.com%2FECM%2F&da...]

 

Thanks

I was hoping there is some variable which we can use to derive that information but looking at the output seems like it is not possible to pull consult information. 


Regards,
Saathvik