Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Campaign Email Template Binding Variable Modification

Isha
New Contributor III
New Contributor III

Hi,

We have a requirement of sending Campaign Due Date in campaign emails as 7 days less than the actual due date.

for eg: If a campaign expires in 28 days, in email we only need to show them the due date as 21days.

Is it possible to edit the binding variables to subtract 7 days?

3 REPLIES 3

indra_hema_95
Regular Contributor III
Regular Contributor III

Hi @Isha Can you try this once 

${campaign?.endDate.minus(7).format('yyyy-MM-dd')}

Regards,

Indra

Raghu
All-Star
All-Star

@Ishatry below

${campaign?.endDate.minusDays(7).format('yyyy-MM-dd')}


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Amit_Malik
Valued Contributor II
Valued Contributor II

This should work - ${campaign?.endDate.minusDays(7).format('yyyy-MM-dd')}

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".