nerdexam
MicrosoftMicrosoft

PL-500 · Question #28

PL-500 Question #28: Real Exam Question with Answer & Explanation

The correct answer is A: Change the exception handling mode to Go to the beginning of the block.. 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.

Explanation

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.

Common mistakes.

  • B. 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.
  • C. 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.
  • D. 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.

Concept tested. Power Automate Desktop error handling

Reference. 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 PracticeBrowse All PL-500 Questions