cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aman_varama
Level: Powered On

Is it possible to have approve and reject button on PowerApps form than in email?

Hi,

 

I am planning to develop an admin app where approvers can open a requests and make necessary changes if required, after successful modification i want to have approve or reject button on powerapps form only to avoid sending approvers back in email to click approve or reject button.

 

Also how can i filter multiple lists (where there is a unique id in all of them) on powerapps form within galley and have edit save button with gallery next to each item.

 

Any help or suggestion is highly appreciated.

 

Thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @aman_varama ,

Do you want to approve/reject the approval request sent using "Send an wait for an approval" action (Approvals connector) in your flow from your PowerApps app?

 

If you want to approve/reject the approval request sent using "Send an wait for an approval" action in your flow from your PowerApps app, I afraid that there is no way to achieve your needs in PowerApps currently.

Currently, within PowerApps, there is no way or function supported to make a response to the approval request sent using "Send an wait for an approval" action (Approvals connector) in a flow.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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

6 REPLIES 6
Community Support Team
Community Support Team

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @aman_varama ,

Could you please share a bit more about your scenario?

Do you want to add a "Approve" and "Reject" button within your PowerApps form?

Which data source do you use to store the approve requests? SP List?

 

Based on the needs that you mentioned, I suppose that you stoe these approve requests in a data source (e.g. a SP List) rather than send the Approval request using MS Flow, and you add a column in your data source to store the Approval request status value (Approve or Reject), is it true?

 

If you store the approve requests in a data source, and want to made some modification to these requests using an app, I think PowerApps could achieve your needs.

 

On your side, you could consider generate an app based on your data source, then it would generate three screens -- BrowseScreen, DetailScreen, and EditScreen.

You could consider add the "Approve" and "Reject" button within above Detail screen. Please try the following steps:

1. Go to the Detail screen.

2. Add two buttons on this Detail Screen -- Approve and Reject.

3. Set the OnSelect property of the "Approve" button to following:

Patch(
      'YourDataSource',
      LookUp('YourDataSource', ID = BrowseGallery1.Selected.ID),
      {
         ApproveStatus: "Approve"
      }
)

Set the OnSelect property of the "Reject" button to following:

Patch(
      'YourDataSource',
      LookUp('YourDataSource', ID = BrowseGallery1.Selected.ID),
      {
         ApproveStatus: "Reject"
      }
)

 

If the data source you used in your app is a SP List, and you use a Choice type column to store the Approve Request Status, pleae modify above formula as below:

Patch(
      'YourSPList',
      LookUp('YourSPList', ID = BrowseGallery1.Selected.ID),
      {
         ApproveStatus: {
                          Value: "Approve"
                        }
      }
)
Patch(
      'YourSPList',
      LookUp('YourSPList', ID = BrowseGallery1.Selected.ID),
      {
         ApproveStatus: {
                          Value: "Reject"
                        }
      }
)

 

For your second question, do you want to filter your Gallery Items based some filter conditions, and want to add "Edit" and "Save" button within the Gallery?

Please consider configure your Gallery as below:

4.JPG

 

5.JPG

 

Please also check and see if the following video would help in your scenario:

https://www.youtube.com/watch?v=JhomcXZaa28

https://www.youtube.com/watch?v=cjIaoVCc5nA

 

https://www.youtube.com/watch?v=M1KK7Pr7RHw

 

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.
aman_varama
Level: Powered On

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @v-xida-msft , Thank you for a long and very informative response.

 

Just to provide you a bit more details here. 

 

In My Approval flow I am adding this link in Item Link box  "Visit admin app to review the request (/Lists/Robyn_Onboarding_Master_List/DispForm.aspx?ID=70)" and  sending it to approver as you can see in the picture below...

ApprovalAnnotation 2019-11-04 163124.gif

 

,When approver opens the form it looks like below picture, in this form approver can make necessary changes before approving this request. all the data in this form are coming from 5 different lists. (just in case you need this info as well). My request is to have Approve and Reject Button in below form instead in email body.

 

Annotation 2019-11-04 120848.gif

Community Support Team
Community Support Team

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @aman_varama ,

Do you want to approve/reject the approval request sent using "Send an wait for an approval" action (Approvals connector) in your flow from your PowerApps app?

 

If you want to approve/reject the approval request sent using "Send an wait for an approval" action in your flow from your PowerApps app, I afraid that there is no way to achieve your needs in PowerApps currently.

Currently, within PowerApps, there is no way or function supported to make a response to the approval request sent using "Send an wait for an approval" action (Approvals connector) in a flow.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

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

aman_varama
Level: Powered On

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @v-xida-msft , Thank you for the response, 

 

Well if we don't have any other way around or this functionality available then i might need to live with this limitation for now. 

 

Thank you again for all your inputs, hope your inputs may help someone in need.

 

 

Highlighted
Community Support Team
Community Support Team

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Hi @aman_varama ,

Yeah, thanks for your feedback in PowerApps.

 

As an alternative solution, I think the video resource I provided above may be a choice for your scenario. You could consider add a SP List as data source to record approval request (submitting approval request using PowerApps app) rather than send approval request using Approvals action in Microsoft Flow.

 

You could consider take a try with above solution, check if it could help in your scenario. If you would like this feature to be added in PowerApps, you could consider submit an idea, which would help us to improve this product:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

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.
jalsql
Level: Powered On

Re: Is it possible to have approve and reject button on PowerApps form than in email?

Microsoft,

the question is simple.  is there an api method we can call to approve/deny, etc an approval from our own custom front ends?

From a powerap, or other web front end.

 

is there such an api or connector method we can call?

 

thanks,

J

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,810)