cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChadC
Frequent Visitor

Approval Comments Display Object Reference Instead of Value

Hi, 

 

I have a Flow using an Approval connector with custom responses. Responses include "Approve", "Approve with edits", and "Reject." If "Approve with edits" or "Reject" is chosen, then an email is generated which references the Approval comments. Until about last week, this worked fine with both options and the comments populated as expected. However, now the email is being populated with a refence to the value of "commentApprove with edits" only when "Approve with edits" is selected. The comments for the Approval when "Reject" is chosen still populate as expected.

 

FlowCommentIssue.PNG

I've tried removing and readding this reference in the Flow to no avail. There was no change to the structure of the flow in between when this was working properly and when it failed.

 

Any advice?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ChadC
Frequent Visitor

The custom values cannot contain spaces. "Approve_With_Edits" returns comments submitted on the approval.

View solution in original post

7 REPLIES 7
Brad_Groux
Community Champion
Community Champion

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

ChadC
Frequent Visitor

Hi Brad, 

 

Thank you for responding. Below are screenshots of the flow leading up to the problem step.

 

Flow pt 1.PNGFlow pt 2.PNG

The problem is with the left, bottom step: "Send notice of approval with edits to requester."

 

The [Comments] dynamic content node is producing the value of "{{commentApprove with edits.value}}." However, the rightmost step, "Send notice of rejection to requester", uses the same dynamic content node and produces the expected value.

 

I do not receive any error messages whatsoever. This seems to me like the dynamic content node is wrapping the programmatic reference in another set of curly braces which is then being interpreted as a string and not an object reference. 

ChadC
Frequent Visitor

The custom values cannot contain spaces. "Approve_With_Edits" returns comments submitted on the approval.

View solution in original post

HelplessMax
Helper I
Helper I

i have a similar problem. I created an approval with 3 options, Approve, Reject and Rückfrage (query in english)

Whenever the third options is selected in the approval email and a random comment is added, this happens: 

{{Comment-3value}} is added for anything that was typed in the comment field

Bildvorschau

This is the Flow Approval:FLOW APPROVAL.PNG

i am happy for every advice 🙂

Hi HelplessMax, 

 

My experience has been that Flow doesn't handle "complex" strings well. I suspect your issue is with the umlauted character. Try using a value of "Ruckfrage" instead and see if the issue reoccurs. 

 

Hope this helps.

You are a legend! It workds finde now, the Umlaut"ü" was the the problem

Thanks again 🙂

 

Max

Glad it helped!!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,028)