cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AltaherEmhemed
New Member

Dynamic Content menu not showing SQL query results

I made a flow that is triggered by a MS Form and runs a SQL query

then parses the returning JSON results

then creates a CSV table

then sends the results as csv attachment in an email to the form responder

 

It all works fine (flow pictured below)

AltaherEmhemed_0-1629294181101.png

 

Then I wanted to make several different flows with different SQL queries.

So I made a copy of the first flow with a different name.

Now the SQL Query results no longer show in the dynamic content menu (pictured below)

AltaherEmhemed_1-1629294375673.png

Bearing in mind when I create a fresh new flow, the SQL results show up just fine in the dynamic content menu.

Is there something I'm doing wrong or is this a bug in Power Automate?

1 ACCEPTED SOLUTION

Accepted Solutions

I just found a fix.

If I removed the dynamic content from the SQL query itself, the "query results" show up just fine in the input field of the "Parse JSON" action.

Then I go back to the SQL query and add the dynamic content back to the query.

 

It's likely a bug in MS Power Automate

 

source:
Solved: Re: Dynamic Content missing - SQL Server - Execute... - Power Platform Community (microsoft....

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

Did you run the copied flow at least once?  I've seen this kind of thing when working with database sources in the past.  Power Automate doesn't know what the schema is until after the query is run once.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

I just found a fix.

If I removed the dynamic content from the SQL query itself, the "query results" show up just fine in the input field of the "Parse JSON" action.

Then I go back to the SQL query and add the dynamic content back to the query.

 

It's likely a bug in MS Power Automate

 

source:
Solved: Re: Dynamic Content missing - SQL Server - Execute... - Power Platform Community (microsoft....

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,598)