PL-100 · Question #332
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 A. Trigger the flow on a schedule and then configure the flow to use the Select data operation to get. To process all existing cases with a "New" status, a scheduled Power Automate cloud flow is required to periodically retrieve and process relevant records.
Question
Options
- ATrigger the flow on a schedule and then configure the flow to use the Select data operation to get
- 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 manually on the case and then configure the flow to send the email.
How the community answered
(25 responses)- A84% (21)
- B4% (1)
- C8% (2)
- D4% (1)
Why each option
To process all existing cases with a "New" status, a scheduled Power Automate cloud flow is required to periodically retrieve and process relevant records.
A scheduled flow can periodically query Dataverse to find all cases currently in the "New" status, ensuring that all applicable cases are processed regardless of their creation or last update time. The flow would use a Dataverse action like "List rows" to retrieve the cases and then iterate through them to send emails and update statuses.
Triggering the flow only when a case is created would miss existing "New" cases that were created before the flow or other cases that became "New" through an update.
Triggering the flow only when a case is updated would miss cases that were created with the "New" status and never subsequently updated, or cases that were updated to "New" but the trigger only fires on any update.
Triggering the flow manually does not meet the requirement for an automatic process.
Concept tested: Power Automate scheduled flow for batch processing
Source: https://learn.microsoft.com/en-us/power-automate/get-started-flow
Topics
Community Discussion
No community discussion yet for this question.