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

Via a flow adding the action to get the comment, then adding the comment via a data pill in an update record action. It's the same way I did it for the manager approval as well.

 

Moedeb_0-1734326770093.png

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Moedeb

Glad that your previous question is solved

For your previous question you can mark multiple responses as correct.

If my response helped please mark it correct as well so that it benefits future readers.

 

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

Moedeb
Tera Guru

Does anyone have ideas on this? 

Unfortunately without an answer to this it makes the previous solution only any use if there is a single approval.

 

@Nick Parsons @Amit Verma @Ankur Bawiskar 

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.