In this lab, you will create a cloud flow using a Power Automate template that will create an approval workflow when a SharePoint list item is created
Learning objectives
- Create a flow from scratch to run manually or on scheduleDuration
- 20 minutesScenario
- Send automated email reminders for overdue tasks in a SharePoint listPrerequisites
- Each student must have a dedicated custom SharePoint list named Work Progress Tracker. The student will create this list in the first task of this lab.Create your own custom SharePoint list using the following steps:
Create a new list Work progress tracker available from Microsoft
a. Click on Home > + New > List > Work progress tracker > Use Template
c. Populate this list with few items and assign to yourself
Create a cloud flow from scratch:
a. Create a new Instant cloud flow and use a Manually trigger a flow as a trigger. Name it Reminder for overdue tasks. Click Create
b. Add a new step to get all items from the SharePoint list Work Progress Tracker.
c. Add a new control connector and select Apply to each control
d. We are going to loop on the list of values recieved from the previous step.
e. Click on Add an Action and select Get Item control for the SharePoint connector
f. Add a Condition control and check for the below conditions:
Please note that we have used an expression to compare the due date as this value is not available in the flow
g. Add an action under the If Yes branch:
h. Save the flow.
To test the flow, trigger it manually. Click on Run > Continue > Run Flow > Done. This will send an email for all the tasks which are overdue.
Verify the email.