Format ${AlertUtils.getSystimestamp()} in Notification of Summary of Elected Benefits
Hello
Hope you are doing well!
We have enabled the Notification of Summary of Elected Benefits to send email when employee makes elections in Self Service. We also want to add time stamp when employee makes elections. We added ${AlertUtils.getSystimestamp()} and it is giving value like 2025-03-17 19:04:24.369. However, the requirement is to print in MM-yyyy HH:mm:ss.
So we tried ${AlertUtils.formatDate(AlertUtils.getSysdate(),'dd-MM-yyyy HH:mm:ss')} but this is printing 17-03-2025 00:00:00 which is not correct. So wanted to know if anyone has formatted this ${AlertUtils.getSystimestamp()} to dd-MM-yyyy HH:mm:ss? Any pointer would be highly appreciated.