Demo 5 - Automated cloud flow
Objective: In this demo, you will show how to create a simple Power Automate cloud flow.
Task 5.1 - Create a cloud flow
-
In the demo solution, create a new automated cloud flow.
- Enter
New Pet
for Flow name. - Select the When a row is added, modified or deleted Microsoft Dataverse trigger.
- Selected Added for Change type.
- Select Pets for Table name.
- Select Organization for Scope.
-
Rename the Trigger step to
Add Pet
. - Select + New Step.
- Select the Microsoft Dataverse connector.
- Select the List rows action.
- Select Tricks for Table name.
- Rename the step to
Get Tricks
. - Show advanced options.
-
Enter
dem_trickname eq 'Sleep'
- use one of the tricks you have used in place of Sleep. - Select + New Step.
- Select the Data Operation connector.
- Select the Compose action.
- Rename the step to Trick.
-
Using Expressions, enter
first(outputs('Get_Tricks')?['body/value'])['dem_trickid']
- Select + New Step.
- Select the Microsoft Dataverse connector.
- Select the Add a new row action.
- Select Pet Tricks for Table name.
- Rename the step to
Add Pet Trick
. - Show advanced options.
- Select Beginner for Level.
- Enter
First Trick
for Name. - Enter
dem_pets()
for Pet. - Move the cursor inside the () and use Dynamic content to select Pet.
- Enter 0 for Points.
- Select New Trick for Status Reason.
- Enter
dem_tricks()
for Tricks. - Move the cursor inside the () and use Dynamic content to select the Outputs from the Trick step.
Task 5.2 - Test the cloud flow
-
Create a Pet record in the model-driven app.
-
Show the test run history.