web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Flow not working

(1) ShareShare
ReportReport
Posted on by 29
Hello,
 
I am making a flow that that it takes from a form, that goes to an approval request and once approved that request gets sent to an email address. I only want to show the questions answered in both the approval and final email.
 
I am getting this error message in my flow.
Invalid parameter for 'Initialize variable'. Error: Enter a valid JSON.
 
My flow is below. I also wonder if my start and wait for an approval function is correct with the concat function and pointing to the Reponses. As I don't want to show questions that weren't answered. 
 
Any help would be greatly appreciated,
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    15,332 Super User 2025 Season 2 on at
    Hi,
     
    It looks like you are missing a few quotation marks.  Please update and resubmit your run.
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     
  • DEKEITH Profile Picture
    29 on at
    Hello,
     
    Thanks for replying Trice.
     
    It still didn't work, so I changed it from object to string. Then it worked after fixing what you said.
     
    My next question is my approval is show the whole concat code now? any way I can fix?
     
  • Suggested answer
    trice602 Profile Picture
    15,332 Super User 2025 Season 2 on at
    Hi,
     
    Awesome!  I am glad the quotation marks helped!  Please mark that reply as a verified answer so others can find it quickly.  Missing quotes is a common issue and happens to EVERYONE at least once!
     
    For your approval code, the issue is your concat(if(empty))) code is typed in as text.  This needs to be entered as an expression, shown below.  With your cursor in the details field (and the location you want to add your expression, click on the fx icon OR type in the "/" - both options get your to the expression builder.
     
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     
  • DEKEITH Profile Picture
    29 on at
    MY flow is still showing all the questions including the non-answered ones in the Approval message. Anything else you might think of? Any help would be greatly appreciated. 
     
     
  • trice602 Profile Picture
    15,332 Super User 2025 Season 2 on at
    Hey there!
     
    I am following up on this post flow not working  in this category building flows from 11/15/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 4 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    15,332 Super User 2025 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard