How to send birthday notification to user using flow designer.?

Mahesh23
Mega Sage

Hello community,

How to send birthday notification to user using flow designer.?

 

Thankyou

1 ACCEPTED SOLUTION

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. 

 

@atherakhtar has a script you should be able to reference and make work in this post. Just change the table you're looking at since his example is for HR Profiles. 


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan
--
LinkedIn

View solution in original post

7 REPLIES 7

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.

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. 

 

@atherakhtar has a script you should be able to reference and make work in this post. Just change the table you're looking at since his example is for HR Profiles. 


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan
--
LinkedIn

Tom Alday
Mega Guru

find_real_file.png