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 Platform Community / Forums / Power Automate / Power Automate- Apply ...
Power Automate
Suggested Answer

Power Automate- Apply to each action not taking out of Parse Json

(0) ShareShare
ReportReport
Posted on by 4
Hey, pls help me to understand what I'm doing wrong. 

I'm building a flow to run a Power BI query and add the extracted data into a Dataverse table. The flow runs, but no data is added to the Dataverse table. Here are the steps:
 
Parse Json step seems to be giving an array as output, but the Apply to each action does not take the output of Parse Json. 
 
Input to Parse Json action:


Output of parse json action: 
 
Checking the input to Apply to each, I see this:
 
Pls help to fix the issue with this flow. 
Categories:
I have the same question (0)
  • developerAJ Profile Picture
    4,741 on at
    could you please provide the input of loadnumber property in add a new row action
  • CU01120131-0 Profile Picture
    4 on at
    The data goes into a column called Load Number in the Dataverse table, and that column is defined as String. 
  • chiaraalina Profile Picture
    1,183 on at
    Hi 
     
    Can you show the input of your Add a new row action? Are you using an expression or direct dynamic content?
  • CU01120131-0 Profile Picture
    4 on at
    Here's the Schema for Parse Json action:
    {
        "type""array",
        "items": {
            "type""object",
            "properties": {
                "INBOUND_LOAD_ID": {
                    "type""string"
                },
                "SHIPPING_ORDER_NBR": {
                    "type""string"
                }
            },
            "required": [
                "INPUT_DATA[INBOUND_LOAD_ID]"
            ]
        }
    }
     
    Input to Apply to each is dynamic: body('Parse_JSON_2')
  • Suggested answer
    developerAJ Profile Picture
    4,741 on at
    {
        "type""object",
        "properties": {
            "body": {
                "type""array",
                "items": {
                    "type""object",
                    "properties": {
                        "INPUT_DATA[INBOUND_LOAD_ID]": {
                            "type""string"
                        },
                        "INPUT_DATA[SHIPPING_ORDER_NBR]": {
                            "type""string"
                        }
                    },
                    "required": [
                        "INPUT_DATA[INBOUND_LOAD_ID]",
                        "INPUT_DATA[SHIPPING_ORDER_NBR]"
                    ]
                }
            }
        }
    }
     
    try this schema not sure why parse Json was giving something different
     
    your content and schema are not matching
  • developerAJ Profile Picture
    4,741 on at
    Once you update your parse Json schema update the input property of Load Number
     
     
  • developerAJ Profile Picture
    4,741 on at
    Following up to check whether the issue has been resolved. If it is resolved, please mark the thread as closed. If not, please tag me and provide info for further assistance.

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 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard