nerdexam
Microsoft

PL-500 · Question #159

You are implementing a Power Automate cloud flow that submits invoice information using a custom connector action. You observe that the custom connector action sometimes results in an error. You…

The correct answer is D. Set the Configure run after action to has failed. This question asks how to configure a Power Automate cloud flow action so that a 'Send email' notification step runs only when a preceding custom connector action fails.

Develop automations

Question

You are implementing a Power Automate cloud flow that submits invoice information using a custom connector action. You observe that the custom connector action sometimes results in an error. You want the system to send you an email to alert you when the custom connector action throws an error. You need to make sure the send email action is triggered only when the custom connector action fails What should you do?

Options

  • ACreate a terminate action and set the status to Cancelled.
  • BCreate a terminate action, set the status to Failed, and set an error code.
  • CSet he Configure run after action to has timed out.
  • DSet the Configure run after action to has failed.
  • ESet the Configure run after action to is skipped.

How the community answered

(53 responses)
  • B
    2% (1)
  • C
    4% (2)
  • D
    85% (45)
  • E
    9% (5)

Why each option

This question asks how to configure a Power Automate cloud flow action so that a 'Send email' notification step runs only when a preceding custom connector action fails.

ACreate a terminate action and set the status to Cancelled.

A Terminate action set to Cancelled halts the entire flow with a cancelled status but does not conditionally invoke a send email action in response to the failure of a specific preceding step.

BCreate a terminate action, set the status to Failed, and set an error code.

A Terminate action set to Failed stops flow execution and marks it as failed, but it terminates the run before any subsequent send email action can execute.

CSet he Configure run after action to has timed out.

Setting Configure run after to 'has timed out' only triggers the email action when the custom connector action exceeds its execution time limit, not when it returns a general failure error.

DSet the Configure run after action to has failed.Correct

The 'Configure run after' setting on a Power Automate action controls its execution condition based on the outcome of the previous step. Setting it to 'has failed' ensures the send email action is triggered exclusively when the custom connector action returns a failure, providing targeted error alerting without affecting the normal successful execution path.

ESet the Configure run after action to is skipped.

Setting Configure run after to 'is skipped' triggers the action when the preceding step was bypassed due to a conditional branch evaluation, not when it actively threw an error.

Concept tested: Power Automate Configure run after error handling

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

Topics

#Power Automate#Error Handling#Cloud Flows#Run After Configuration

Community Discussion

No community discussion yet for this question.

Full PL-500 Practice