cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KUNGFUPANDA559
Helper II
Helper II

Avoid Recreating App, Flow to retrieve body of stored procedure response

I have a powerapp that runs a flow at the press of a button.  During the flow a stored procedure executes and returns the data in the body   (e.g. ClearCollect(SampleCollection, Powerapp.run()) ).  Unfortunately, my collection only displays "true" in the value.   I see multiple suggestions to recreate either the flow, or the app.  Both are not viable options.  

1 REPLY 1
v-yutliu-msft
Community Support
Community Support

Hi @KUNGFUPANDA559 ,

I've met similar problem before. This may be about displaying json text string.

Try this formula:

ClearCollect(SampleCollection, JSON( Powerapp.run()))

Please check if you have typed proper formula within the Body field of the "Response" action in your flow.

In addition, please also check if you have typed proper Response Json Schema within the Response Body JSON Schema field of the "Response" action.

If the problem still exists, I suggest you post your flow configurations in details in flow forum. It should be about your flow's problem.

https://powerusers.microsoft.com/t5/Forums/ct-p/FL_Comm_Forums

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (29,522)