web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / My Flow works fine whe...
Power Apps
Answered

My Flow works fine when run directly but not when using PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

My Flow works fine when run directly but not when using PowerApps that is it does not provide data back to PowerApps collection post run

 

Session ID: 8248610e-fe5e-4cdc-92f0-75b977a4c332
PowerApps 3.19061.14

Categories:
I have the same question (0)
  • MagnusGöransson Profile Picture
    424 on at

    Can you provide a screenshot of the PowerApps code that calls the Flow and the last box of the Flow?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The code is simple:

    Set(myCollection,'PowerAppsbutton-2'.Run("dineshpathak@mydomain.com"))

     

    This is set at OnVisible of the screen to run the flow on load (neither working if called at OnSelect of button control but runs directly from Flows.)

     

    It’s a simple flow to call user profile service and set values in variables (say EmployeeID)

     

    When I try to access the variables using myCollection.propertyname (e.g. myCollection.EmployeeID)it does not populate the propertyname after flow is run.

  • MagnusGöransson Profile Picture
    424 on at

    Hello,

     

    Ok, have you changed the flow and the outputs after if was connected to the PowerApp? If so, you may need to remove it from the PowerApp and re-add it again. I have seen scenarious when the PowerApp doesnt see the outputs before it was re-added.

     

    Test and see if it helps.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Team,

     

    Already did that multiple times but no luck.

  • MagnusGöransson Profile Picture
    424 on at

    Hello,

     

    Then I'am out of ideas... 😕 When i had those kind of problem it was solved by removing and adding the flow. I guess you have restarted the app as well to clear out everything.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, I did restart the app as well.

    Is there any ways to look into logs?

  • Verified answer
    MagnusGöransson Profile Picture
    424 on at

    Hello,

     

    You can always look at the list of Flow runs. If you go to the Flow portal and the click on the specific Flow you will se a list of all Flow runs. When you click the specific you can see all the values in each step.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard