- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 10:02 AM
Hello community,
How to send birthday notification to user using flow designer.?
Thankyou
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 05:20 AM
Hello,
You are correct that it does return the year, but you can use GlideDate().getDayOfMonthNoTZ() and GlideDate.getMonthNoTZ() capabilities in a scripted action to remove the year and then compare the run start date to the user's birthday to achieve the functionality you're looking for.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
--
LinkedIn

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 12:01 PM
Basically, I would do the same setup as Logan suggested, but with a custom action to determine which users should be included in the notification.
Either by writing and calling a script include, or writing the script directly in the custom Flow action.
The action should take the current date as input, and return an array of sysIDs of users that have birthday on that day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2022 05:20 AM
Hello,
You are correct that it does return the year, but you can use GlideDate().getDayOfMonthNoTZ() and GlideDate.getMonthNoTZ() capabilities in a scripted action to remove the year and then compare the run start date to the user's birthday to achieve the functionality you're looking for.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
--
LinkedIn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 12:35 PM