cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Integrating a flow with Power Apps

I've been trying to create a flow that allows an employee to send out their weekly timesheet by the end of the week, I have already created the approval flows which is that once an entry has been created it would be sent to their manager to view and approve and once that manager has done so then another email is sent out for another approval from another manager this goes on for two more rounds (respectively their timesheet will be viewed and approved by 4 managers).

 

As of now what I what the flow does is whenever an entry has been added (it's not even the full week entry just one day) it automatically sends out an approval email. As you can see in the image (Image 1) this how the share point list looks like meaning they would be in and out of the app to add a new entry for each day, so after submitting for one day I don't want it to automatically send out an approval email until all days have been filled and the employee is satisfied and they can click on the button to send out their timesheet which would be located at the end of the screen.

 

Screenshot (113).png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Integrating a flow with Power Apps

Hi @SandraAkujobi ,

If you want to send the timesheet approval request at the end of current week, I agree with @RandyHayes 's thought almost, I think the "Recurrence -Schedule" trigger could achieve your needs.

 

On your side, you could consider configure your flow as below:

1.JPG

 

2.JPG

 

3.JPG

 

In addition, you could also consider apply some filter action to the "Get items" action in your flow (e.g. filter records based on current week) using "Filter array" action and some flow expression, to get these records you want to approve.

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Super User
Super User

Re: Integrating a flow with Power Apps

@SandraAkujobi 

Not sure if you have an "approved" column in your SharePoint list, but you might want to consider it for the following:

- Instead of triggering your flow on every entry - consider using a timed trigger on a weekly basis.

- In your weekly running flow, gather any list items that do NOT have "approved" status and then send approval messages as such.

 

This would eliminate a daily approval email.

 

Just a suggestion - I hope it is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Community Support
Community Support

Re: Integrating a flow with Power Apps

Hi @SandraAkujobi ,

Do you want to send an approval email automatically once a new entry has been added into your SP List?

 

Based on the needs that you mentioned, I think the "When an item is created" trigger of SharePoint connector in Power Automate flow could achieve your needs.

 

On your side, you should configure your flow's configuration as below:

5.JPG

Note: Please remove "PowerApps" trigger button from your flow, instead, add "When an item is created" trigger of SharePoint connector in your flow. The "When an item is created" trigger would be fired once one new entry has been added in to your SP List.

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper IV
Helper IV

Re: Integrating a flow with Power Apps

@v-xida-msftNot exactly when anew entry is added but when their full weekly entries have been filled, then they can submit their timesheet to whoever is to view and approve and so on.

Highlighted
Super User
Super User

Re: Integrating a flow with Power Apps

@SandraAkujobi 

Exactly, so again, you're going to want to create a schedule Flow that triggers on a weekly basis as I mentioned in previous post.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Highlighted
Community Support
Community Support

Re: Integrating a flow with Power Apps

Hi @SandraAkujobi ,

If you want to send the timesheet approval request at the end of current week, I agree with @RandyHayes 's thought almost, I think the "Recurrence -Schedule" trigger could achieve your needs.

 

On your side, you could consider configure your flow as below:

1.JPG

 

2.JPG

 

3.JPG

 

In addition, you could also consider apply some filter action to the "Get items" action in your flow (e.g. filter records based on current week) using "Filter array" action and some flow expression, to get these records you want to approve.

 

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,345)