Approval Request - approved email to note who approved it

joshuacomeau
Tera Contributor

I am working on a notification that will trigger once the approval request is approved, on the approval request it will trigger an email that the email has been approved.

 

My current flow has two approval requests that will be triggered and I trying to figure out a way that will note who approved the request, currently it will note the following: ${approver}

But since this flow sends to approval requests and will send to the following users that are entered in the following fields:
Requested for

Requested by

Upon approval is their a way for it to stamp on who the approval came from whether it's origin was from the requested by or the requested for field.

2 REPLIES 2

Uncle Rob
Kilo Patron

That's stored in related data.  A task can have many approval records even for "1 approval" (think: anyone from GroupX has to approve:  if group X has 50 members, that's how many approval records will generate).
So before triggering the notification, you may need Flow Designer to look up the approval records to see which was approved and then grab the user reference from there.

Muhammad Salar
Giga Sage

You can do this from flow designer, Lookup on approval table record and get the approver name from lookup