PL-100 · Question #283
A company creates multiple cases in Microsoft Dataverse each day with a status of New. For all cases with a status of New, the system must send an email to the customer and then change the status to…
The correct answer is B. Trigger the flow on a schedule and then configure the flow to use the Dataverse List rows action. To automatically send an email to customers and change the status of new Dataverse cases to 'In Process', you should trigger the flow on a schedule and use the Dataverse 'List rows' action.
Question
Options
- ATrigger the flow on a schedule and then configure the flow to use the Compose data operation to
- BTrigger the flow on a schedule and then configure the flow to use the Dataverse List rows action
- CTrigger the flow when the case is updated and then configure the flow to send the email.
- DTrigger the flow manually on the case and then configure the flow to send the email.
How the community answered
(54 responses)- A4% (2)
- B72% (39)
- C17% (9)
- D7% (4)
Why each option
To automatically send an email to customers and change the status of new Dataverse cases to 'In Process', you should trigger the flow on a schedule and use the Dataverse 'List rows' action.
While a scheduled flow is appropriate, the 'Compose' data operation is for data manipulation within the flow, not for querying Dataverse for specific records.
A scheduled flow can periodically query Dataverse for all cases that currently have a status of 'New' using the 'List rows' action with appropriate filtering. After processing, the flow can then update the status of these cases and send the necessary emails.
Triggering the flow 'when the case is updated' would not catch cases that are initially created with a 'New' status and need immediate processing; it's better for changes to an existing case.
Triggering the flow manually does not meet the requirement for automatically sending emails and changing the case status.
Concept tested: Power Automate scheduled flows and Dataverse actions
Source: https://learn.microsoft.com/en-us/power-automate/dataverse/list-rows
Topics
Community Discussion
No community discussion yet for this question.