cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Oskarkuus
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
yashag2255
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
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

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (24,510)