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 Automate / Integrating Flow in Po...
Power Automate
Unanswered

Integrating Flow in PowerApps

(0) ShareShare
ReportReport
Posted on by 364

Hi all, 

 

I have an app that tracks hours spent working on engineering projects. When an engineer submits their hours, my app needs to update a SharePoint site that logs the hours spent on each project. If any Engineer tries to submit hours for a day in the past, we require they get approval. My app currently logs the hours just fine, however I am struggling with getting the flow for an approval working in the app.

 

I have tried creating a flow based on a power app button, but am struggling with the formula to make it run properly. I have tried setting the OnSelect with a Run() formula, but I'm not sure if this is the ideal way to pull it off. I tried making a formula using Run, but I can't seem to get the syntax down. I'll include images, if anyone can help, I would greatly appreciate it!

 

Aurora_0-1632238496577.png

Aurora_0-1632238640201.pngAurora_1-1632238647982.pngAurora_2-1632238652514.png

 

Categories:
  • Aurora Profile Picture
    364 on at

    PowerAppsbutton.Run(DataCardValue24.Text,DataCardValue18.SelectedDate, Dropdown2_1.Selected, Dropdown3_1.Selected, DataCardValue21.Text, DataCardValue22.SelectedItems)

     

    That is the current run formula I have, I'm not sure where the error is coming from. 

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Aurora 

    Does your App save the data to SharePoint even if approval is required?  If so, then why not just have a Flow that runs when the item is created.  The Flow can check the dates and start an approval process if required,.

     

  • Aurora Profile Picture
    364 on at

    How do I set up a flow to automatically check the date and then run an approval? I have fixed the issues with my code for my flow that trigger on a button press, but I am still having some permission errors, so I'm open to other ways of doing this. 

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Aurora 

    See my example below and let me know if you have additional questions.

    image.png

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 Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard