top of page
Writer's pictureVijai Anand Ramalingam

How To Create A Simple Approval App Using PowerApps And Flow In SharePoint Online

Introduction

In this article, you will see how to create a simple approval app using PowerApps and Flow in SharePoint Online. To get started refresh your knowledge of PowerApps and Flow. I have created a custom list in SharePoint Online named Change Request which contains the following columns.


We will learn how to create an app using PowerApps Studio and a simple approval process using Flow. The status column will be updated as Approved or Rejected after the completion of approval process.


Create an app for SharePoint Online List using PowerApps

In this section, you will see how to create an app for your SharePoint Online list using PowerApps.

  • Navigate to custom list (Change Request) in SharePoint Online site. For example, https://c986.sharepoint.com/sites/Vijai/Lists/Change%20Request/AllItems.aspx

  • Click PowerApps and then click "Create an app". 


  • Enter app name and then click "Create".


  • Building and saving your app.


  • By default, generated app contains Browse, Detail, and Edit screen.


  • Navigate to the Edit screen, select Status card and then select Visible property in the property box. Set visible property value to false in the formula bar so that Status field will not be shown to users in edit/new form.



Create an approval process using Flow

In this section you will see how to create an approval process using Flow.

  • Navigate to custom list (Change Request) in SharePoint Online site. For example, https://c986.sharepoint.com/sites/Vijai/Lists/Change%20Request/AllItems.aspx

  • Click Flow and then click Create a flow. 


  • Click See more templates.


  • Click Create a flow from blank.


  • Search for SharePoint and select SharePoint – When an item is created.


  • Make sure you are connected to your SharePoint online site or add a new connection.


  • Enter the URL and select the list name from drop down. Click New Step.


  • Click New Step and then click Add an action.


  • Search for Send Approval and then select Office 365 Outlook – Send approval email.


  • Fill in all the required details as shown below,


  • Click Next step and then click Add a condition.



  • Set the condition as shown below,


  • If condition is satisfied, add an action to update the Status field to Approved.


  • Search for Update Item and then select SharePoint – Update item.


  • Make sure you are connected to your SharePoint Online site and fill in all the required details as shown below,


  • If the condition is not satisfied, add an action to update the Status field value to Rejected.


  • Enter the name for the flow and click Create flow.


  • Flow created successfully. Click Done.


Testing the app and approval process

  • Navigate to custom list (Change Request) in SharePoint Online site. For example,  https://c986.sharepoint.com/sites/Vijai/Lists/Change%20Request/AllItems.aspx

  • Click All Items drop down to view options and then click ChangeRequest App which we have created 


  • Open the app.


  • Click “+” icon to create new item.


  • Enter the details and click tick icon. 


  • Item is created successfully. Approver (I have added myself – Vijai Anand Ramalingam as approver) will receive an email to approve or reject in Office 365 Outlook.

  • Click "Approve".


  • Navigate to list and you could see the Status field got updated to Approved.


Result

In this article, you saw how to create a simple approval app using PowerApps and Flow in SharePoint Online.

0 comments

Comments


bottom of page