Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Calculate number of Days remaining in Campaign

JB
Regular Contributor
Regular Contributor

Hello Team

Anyone have a sample code for calculate number of days remaining While Sending Campaign reminder emails ?

JB_0-1666937247679.jpeg

Regards,

JB

3 REPLIES 3

Abhishek
New Contributor III
New Contributor III

If you are sending reminders on fix dates like first reminder on 5th Day, Second one on 10th Day and third one on 14th Day then can't you hard code the remaining days manually in each of the reminder templates?

JB
Regular Contributor
Regular Contributor

Hello Abhishek,

Thanks for the response. We have different duration for each campaign. So we may have to create email  template for each campaign.  To avoid we are trying using some dynamic config.

Regards,

Jithin B

You can use java date function to calculate difference 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.