How to send an email notiffication to assigned to based on Follow up date in flow designer

Bala13
Kilo Guru

HI,

In demand module, we have a Follow up field which is Date type. When the state is set as "Awaiting" then Follow up date will be visible on the form. Then user will be picking up the follow up date.

Then, we have a flow designer to send the notification on follow up date to Assigned to user. If the assigned to is empty, then email notification should be triggred to Assignment group.

Issue is, email notification is not getting triggered. Please help me with this.

 

find_real_file.png

 

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

 

find_real_file.png

find_real_file.png

 

Please help me with the request above and do the needful.

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi,

Something like this

1) flow triggers when Follow up field Changes and IS NOT EMPTY

Run trigger -> For each unique change

2) then use Wait for Duration flow logic

3) then use IF activity to check assigned to is empty or not and based on that include assigned to or group in Send email activity

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

22 REPLIES 22

HI Ankur,

 

Tried it, but its not working as per my requirement. Could you please help me to build the same logic in new flow designer.

 

My requirement is as below.

  1. When a demand is in a state of awaiting AND the awaiting reason is user feedback the follow-up date field should be required.
  2. If the state is awaiting and awaiting reason is user feedback AND the follow-up date is today, then an email should be triggered/send to the assigned to user.  If the assigned touser is BLANK then the notification should be sent to the assignment group. This flow should continue to send a notification to either assigned to or assignment group (based on previous condition) if the follow-up date is before today’s date.
  3. If the state is awaiting and awaiting reason is user feedback AND the follow-up datechanges to a future date (date is after today), the current flow executed should be cancelled and a new flow should trigger once the future follow-up date is today.
  4. If the demand becomes inactive (active = false) the flow should be cancelled.
  5. If the state is no longer awaiting OR the awaiting reason is no longer user feedbackthen the flow should be cancelled.

Hi,

your flow logic needs to be revisited

Flow triggers when Follow up date is updated and then it would wait till that date and then check if assigned to is populated or not and accordingly send email to group or user

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

Could you please provide me an example ankur?

I am little confused here, like what needs to be selected in flow triggeres and if condition?

 

Please help me ankur

 

Hi,

Something like this

1) flow triggers when Follow up field Changes and IS NOT EMPTY

Run trigger -> For each unique change

2) then use Wait for Duration flow logic

3) then use IF activity to check assigned to is empty or not and based on that include assigned to or group in Send email activity

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

I have done the first step as per the suggestion.

How to write the wait for duration flow logic as per my requirment? Could you please help me

find_real_file.png