How to include today's date in a notification email

Solved!
Hugo_Wsld
Level 2
How to include today's date in a notification email

Hello everyone,

Please, could you let me know how to include today's date in a notification email ?

Many thanks, in advance,

Regards,

Hugo

0 Kudos
1 Solution
AlexT
Dataiker

Hi,

You can use variables in your email notification. 

To se the variable you can use a scenario step "set project variables" to set  today's date.  


Screenshot 2022-08-03 at 11.20.12.png
variable_name -> now().toString('yyyy-MM-dd')

Then include this variable_name in the subject or body of the email as needed. 

Let me know if that works for you. 

 

View solution in original post

1 Reply
AlexT
Dataiker

Hi,

You can use variables in your email notification. 

To se the variable you can use a scenario step "set project variables" to set  today's date.  


Screenshot 2022-08-03 at 11.20.12.png
variable_name -> now().toString('yyyy-MM-dd')

Then include this variable_name in the subject or body of the email as needed. 

Let me know if that works for you.