Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Parson JSON Error - need help understanding to create approval workflow.

(0) ShareShare
ReportReport
Posted on by 3

I'm fairly new to automate and have been trying to create a flow that takes a file uploaded to a form and sends it to 2 people for approval. I've followed this tutorial. But I keep getting an error on the third action. 

 

The error: 

InvalidTemplate. Unable to process template language expressions in action 'Parse_JSON' inputs at line '0' and column '0': 'The template language expression 'body('Get_response_details')?['re00719d160f0409c8c5460c6e2655a04']' cannot be evaluated because property 're00719d160f0409c8c5460c6e2655a04' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

 

Screenshot 2023-12-13 at 12.04.42 PM.png

 

Any suggestions on how to solve?

  • Verified answer
    Pstork1 Profile Picture
    65,997 Most Valuable Professional on at
    Re: Parson JSON Error - need help understanding to create approval workflow.

    The response you are trying to parse is in an array. You can parse the entire array or if you want to parse each entry in the array you'll have to do it in an apply to each loop. Check to see if SplitOn is enabled in the trigger. When the forms connector originally shipped it wasn't, so each forms response was submitted as part of an array. That's why you use an Apply to each to get hte response details. Enabling splitOn will let you submit each form as a single instance of the flow. That would let you parse this response because it wouldn't be in an array of responses anymore.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow