PL-100 · Question #333
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 D. Trigger the flow on a schedule and then configure the flow to use Dataverse List rows action to. To automatically process all cases in Dataverse with a "New" status, a Power Automate scheduled cloud flow should be configured to use the Dataverse List rows action.
Question
Options
- ATrigger the flow on a schedule and then configure the flow to use the Filter array data operation to
- BTrigger the flow when the case is created and then configure the flow to send the email.
- CTrigger the flow when the case is updated and then configure the flow to send the email.
- DTrigger the flow on a schedule and then configure the flow to use Dataverse List rows action to
How the community answered
(49 responses)- A4% (2)
- B8% (4)
- C2% (1)
- D86% (42)
Why each option
To automatically process all cases in Dataverse with a "New" status, a Power Automate scheduled cloud flow should be configured to use the Dataverse List rows action.
While a scheduled flow is appropriate, the "Filter array" data operation is used to filter an existing array of data within Power Automate, not to query data directly from Dataverse; the "List rows" action is needed first to retrieve the data.
Triggering the flow only on case creation would miss existing cases that were created prior to the flow's activation or other cases that achieve "New" status via updates.
Triggering the flow only when a case is updated would miss cases that were initially created with a "New" status and never subsequently updated, meaning they would not be processed.
A scheduled flow periodically runs, and the Dataverse "List rows" action is specifically designed to retrieve multiple records from a Dataverse table, allowing filtering to target cases with the "New" status for processing. This ensures all existing new cases are identified and acted upon automatically.
Concept tested: Power Automate scheduled flow with Dataverse List rows
Source: https://learn.microsoft.com/en-us/power-automate/connection-connectors/connections-create-dataverse
Topics
Community Discussion
No community discussion yet for this question.