cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Access respones from flow to poweapps?

I have a powerapp with this formula

AddanitemtoSharePointandsendanemail.Run("";"";ComboBox2_2.Selected.Rubrik;varIDString;ComboBox2_2.Selected.'Aktivitet Kategori';ComboBox2_2.Selected.Beskrivning;ComboBox2_2.Selected.Start;ComboBox2_2.Selected.**bleep**)

 

then i have a flow with this ending

screenshot: http://prntscr.com/ufs6hj

 

but how do i use that data in my powerapp, i cant figure out how to access it.

7 REPLIES 7
Dual Super User II
Dual Super User II

@Oskarkuus 

 

Can you try to update the expression to:

 

Set(ReturnedResponse, AddanitemtoSharePointandsendanemail.Run("";"";ComboBox2_2.Selected.Rubrik;varIDString;ComboBox2_2.Selected.'Aktivitet Kategori';ComboBox2_2.Selected.Beskrivning;ComboBox2_2.Selected.Start;ComboBox2_2.Selected.**bleep**))

 

You can access the variable using ReturnedResponse.varFlowDone

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Well it kind of works...

i now see the variable from flow.

But even tho i have typed it to return true back to powerapps

when i type in varReturnedResponse.varFlowDone in a label controle

i get the value false

 

idea is that i want to return a true value when the flow is done

then i want to run some actions and then set the value of the variable to false and be able to run the flow again and set it back to true when the next run of the flow is done.

 

@Oskarkuus 

 

Can you confirm if the app waited for the flow to complete? Also, can you check the flow history once to check what data is passed in last action? If you can share more details, we might be able to help you better.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

1. I dont know what you mean by the "app waited"... it loads a bit and then it is done.

2. This is a screenshot from the flow running
http://prntscr.com/ufssg5

http://prntscr.com/ufssmj

http://prntscr.com/ufssr3

3. Screenshot from the app and the label where i ask for the value from power automate.
http://prntscr.com/ufst48

 

 

 

@Oskarkuus 

 

What I meant by app waited is, did it assign the variable before the completion of flow? 

Can you check the ReturnedResponse variable inside the View tab? Is it showing the value passed from flow?

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under view it is showing the variable.

More screenshots

http://prntscr.com/uftew8

http://prntscr.com/uftfai

http://prntscr.com/uftfe9

 

 

What I meant by app waited is, did it assign the variable before the completion of flow?

- No clue tbh what you mean by this, sorry! How do i check this?

 

 

@Oskarkuus 

 

What do you have in the value of this variable? To check the value, you need to click on the purple table icon on the View Variable window.

Also, can you try to remove and reattach the flow to the canvas app? If you have made any changes to the flow configuration after attaching to the application, it needs to be registered again.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,988)