nerdexam
Microsoft

PL-500 · Question #28

You develop a desktop flow. The flow performs five actions in sequence. If an error occurs, you must restart the flow from the first action. You add the five actions to an On block error action. You…

The correct answer is A. Change the exception handling mode to Go to the beginning of the block. E. Select Continue flow run. To restart a desktop flow from the beginning of a specific block after an error, you must configure the 'On block error' action to 'Go to the beginning of the block' and ensure the flow continues running.

Develop automations

Question

You develop a desktop flow. The flow performs five actions in sequence. If an error occurs, you must restart the flow from the first action. You add the five actions to an On block error action. You need to configure error handling. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AChange the exception handling mode to Go to the beginning of the block.
  • BChange the exception handling mode to Go to next action.
  • CSelect Throw error.
  • DConfigure an On error condition for the first action.
  • ESelect Continue flow run.

How the community answered

(36 responses)
  • A
    81% (29)
  • B
    11% (4)
  • C
    3% (1)
  • D
    6% (2)

Why each option

To restart a desktop flow from the beginning of a specific block after an error, you must configure the 'On block error' action to 'Go to the beginning of the block' and ensure the flow continues running.

AChange the exception handling mode to Go to the beginning of the block.Correct

To restart the flow from the first action within the 'On block error' section, the exception handling mode must be set to 'Go to the beginning of the block', which redirects execution to the start of the current block upon an error.

BChange the exception handling mode to Go to next action.

Changing the exception handling mode to 'Go to next action' would cause the flow to skip the problematic action and continue to the subsequent one, rather than restarting the entire block.

CSelect Throw error.

Selecting 'Throw error' would propagate the error upwards, potentially terminating the flow or moving to a higher-level error handler, which is not the desired outcome of restarting the block.

DConfigure an On error condition for the first action.

Configuring an 'On error condition for the first action' provides error handling for that single action but does not automatically restart the entire block from its beginning if an error occurs in a different action within the block.

ESelect Continue flow run.Correct

After configuring the flow to go to the beginning of the block, selecting 'Continue flow run' ensures that the flow does not terminate and instead proceeds to re-execute the actions within the block, effectively restarting the process.

Concept tested: Power Automate Desktop error handling

Source: https://learn.microsoft.com/en-us/power-automate/desktop-flows/error-handling

Topics

#Power Automate Desktop#Error Handling#Flow Control#On block error

Community Discussion

No community discussion yet for this question.

Full PL-500 Practice