cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
aman_varama
Level: Powered On

Response from Flow to powerapps returns Boolean (True/False)

Hi,

 

I am trying to get a text from flow to powerApps using UpdateContext({FromFlow:PowerAppsAlone.Run(JSON(CollProductsAndTopics.Id))}) - and then i am using this "FromFlow" variable in my control, however it returns only true or false instead of the actual text. 

 

What am i doing wrong here, i clear my browser cache as well as i checked my flow variable type which is string type.

 

Annotation 2019-11-02 222053.gif12121.gif

4 REPLIES 4
Dual Super User
Dual Super User

Re: Response from Flow to powerapps returns Boolean (True/False)

It looks like you are trying to send an ID back to PowerApps from Flow.  The ID in Flow will be formatted as an Integer and when you try to pass that back as a string it doesn't cast correctly.  Try changing the Compose in your Respond to PowerApps to explicitly format the ID as Text.



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

Re: Response from Flow to powerapps returns Boolean (True/False)

You should also check a previous run to make sure what the value is that is being passed into Flow.  It looks like you are passing a JSON object which you are then storing in the variable and passing back.



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

Re: Response from Flow to powerapps returns Boolean (True/False)

Thank you @Pstork1  for the response,  i am sending a alfa-numeric id from powerapps to flow and flow receives it as specified in below image.

 

Annotation 2019-11-04 120848.gif

 

Still it says true or false.

 

This is what i am using on powerApps to send the data. UpdateContext({FromFlow:PowerAppsAlone.Run(lblCustomID.Text)})

 

 

 

 

aman_varama
Level: Powered On

Re: Response from Flow to powerapps returns Boolean (True/False)

Regarding your follow up email, I didn't get solution yet, so can't accept it as solution.

 

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,956)