Format date in email alert

Hi,

I was wondering if it is possible to add the date of check_result.triggeredAt in the subject of the message.
I would need it in format “yyyy.MM.dd”.

Or maybe to have the first 10 chars of the check_result.triggeredAt

Thank you in advance

Jon

The template language used by the email alarm callback doesn’t support modifying the template variables.

Hi,
Thank you very much for the quick response. If I undestand correctly, it is only possible to display the variables as they are, right?

Yes, that’s correct. You can display check_result.triggeredAt as is, but it’s not possible to apply some filters or convert it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.