Flow Designer- Ask for Approval

Priyanka Gupta
Mega Guru

Hi Community,

I have 'Ask for Approval' action on my flow.

find_real_file.png

I am not able to understand how it sends out an approval request email to the manager automatically. In a conventional workflow, we need to trigger an event for sending a notification. I have not specified any notification to run. How do the notifications work exactly with Flow Designer? Any help would be great.

Thanks!

8 REPLIES 8

HarshTimes
Tera Guru

This does not look like sending notification. It may be some other source. 

OPen the email sent in logs. Scroll below you can find the notification that has triggered that email. OPen the notification record and check the condition or event that has triggered this. If event then check the scripts that triggered that event. Hope this will help to connect the dots.

 

 

-Harsh

No NaME
Mega Guru

I would recommend checking the email logs and finding out in the approval email what is triggering that mail to manager

 

find_real_file.png

Priyanka Gupta
Mega Guru

Thank you Harsh, Munish.

The BR Approval Events (Task) is the problem. It gets triggered automatically when approval is requested. Would you know how can I circumvent it?

Priyanka Gupta
Mega Guru

I have run into another problem now. I have a custom action that generates an event to send an email for approval. When I place this custom action before the Ask for Approval, the data pill that I get is Task record and not an approval record.

 

Trigger is my actual record which is why this approval request shows up on my Task and not sysapproval record I am assuming.

find_real_file.png

If I place it after the Ask for Approval step, it doesnt get triggered at all because it waits for the approval to happen.

find_real_file.png

The actual custom action (this works and does its job)-

find_real_file.png

 

 Is there a way to trigger approval notification through an event in Flow Designer?