Flow designer - how to get approval's comments

AEterni
Mega Guru

Hello All,

I have a basic approval flow in Flow Designer:

  • If approved do this
  • If not approved do that

Do you know if it is possible to"get" or "lookup" the approval's (or rejection) comments?

I'd like to update the record (in this case the "additional comments" of the requested items with the comments of all approvers.

Thanks.

7 REPLIES 7

Hi, I logged a ticket with ServiceNow. They can reproduce the behaviour and they confirmed it is NOT expected. The ServiceNow engineer logged a problem with the development team. They are still investigating. Cheers.

nowguru
Tera Contributor

Appreciate you sharing. Hopefully, they can resolve this.  Seems like a simple oversight.

Tony Kim
Tera Expert

I was able to make it work in Flow designer by doing "lookup record" on the sysapproval_approver table and using the condition of "approving" is "Trigger - Requested item" data pill.  Then send an email action and using the "approval records - comments" data pill. 

 

This allowed me to pull the comments from the rejection into the email/flow without scripting anything but I would think it should work for any comments regardless of approved or rejected.

TonyKim_0-1677868409141.png

TonyKim_1-1677868463068.png