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

How to add only user start date in email body

sk
Regular Contributor
Regular Contributor

Hi Team,

Can someone please help to add only user startdate in mail body when we use this biding variable. ${users.startdate}

Currently it was printing date along with time.

Thanks,

Sai Krishna

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

${users.startdate.format("yyyy MM dd")}

 

https://forums.saviynt.com/t5/identity-governance/printing-current-date-in-email/m-p/12449#M3894


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

SumathiSomala
All-Star
All-Star

@sk try below

${users.startdate.format("yyyy-MM-dd")}

 

Regards,
Sumathi Somala

If this reply answered your question, please Accept As Solution and give Kudos.

sk
Regular Contributor
Regular Contributor

@rushikeshvartak / @SumathiSomala 

Tried with binding variables the above which was shared but I don't see any mail was triggering when we use those.

<b>Email Address and Office365 Logon:</b>${user?.username}<br>
<b>Working location:</b> ${user?.locationdesc}<br>
<b>Start Date:</b> ${users.startdate.format("yyyy MM dd")} or ${users.startdate.format("yyyy-MM-dd")}

Its user and not users


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.