Follow up Question - Getting the correct approval comment

Moedeb
Tera Guru

I just recently posted the below question that has a solution, however once I got past the first bit, I now have a follow up issue I need help with.

Solved: Help with flow action getting comment and removing... - ServiceNow Community

 

On a flow that has multiple approval levels, how do you get the comment from the correct approval?

 

So for example the request requires a manager approval, followed by a group approval from the finance team.

 

So in the above solution, it simply gets the first approval comment and uses it for the manager approval, works perfectly.

However, when it is used again it doesn't get any comments, which appears to be because there are no new comments on the first approval, they are no being added to the second level approval.

 

I did add the action again, just after the "ask for approval" and just before I wanted to add the comments from the second approval.

Moedeb_0-1734318753583.png

@Nick Parsons @Amit Verma @Ankur Bawiskar 

1 ACCEPTED SOLUTION

Moedeb
Tera Guru

I have now been able to workout how to get the comments of the correct approval each time and have created an update set that makes it reusable in Flow Designer through a custom action:

Flow Action - Lookup approval comments 

 

Thank you to @Ravi Chandra_K for your help in my original question.

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@Moedeb 

are you sure before the 2nd approval the 1st approver has comment added?

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

Yes I tested it and the first comment definitely is added to the first part of the flow where I would expect it to be added.

Moedeb_0-1734325633714.png

 

@Moedeb 

how are you printing the comments?

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