cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MPEng
Frequent Visitor

Configure run after Bug: Unexpected behavior with "Configure run after" is skipped execution after top level action fail

Issue:

Flow continues to execute unexpectedly when a top level action fails and encounters an action with "Configure run after" set to "is skipped" down the logic tree.

 

Current behavior:

When top level flow action fails, the entire flow continues to execute unexpectedly; when flow encounters an action with a "Configure run after" condition set to "is skipped" down the logic tree, it will execute.

 

Expected behavior:

When top level flow action fails without an immediate catch in the next action, flow should terminate and exit immediately.

 

Steps to Replicate:

1. Add a Trigger: Manual

2. Add Action (Setup to fail) (test sample: SQL Get a row (v2)) (This should fail and terminate the flow; it does not)

3. Add Try 1 action (Try) (Setup to fail) (Configure run after == "is successful")

4. Add Catch 1 (Catch) (Configure run after == "has failed")

5. Add Try 2 action (Try) (Setup to fail) (Configure run after == "is skipped") (This action executes because "is skipped" run condition is met from Step 4, but flow should have terminated at Step 2 after the action hard failed; I would expect that Step 5 should never execute, but it does.)

6. Add Catch 2 (Catch) (Configure run after == "has failed" or "has timed out")

7. Add Final Action (Final run condition) (Configure run after == "is skipped")

8. Execute flow

 

Configure run after settings:

pa_confirgure-run-after_is-skipped_bug_configure-run-after-settings_2021-08-05.PNG

 

Flow run showing unexpected behavior:

pa_confirgure-run-after_is-skipped_bug_flow-run_2021-08-05.PNG

 

Additional comments:

A possible workaround is to setup a catch to terminate the flow after each Action; very cumbersome when the complexity of the flow increases. Does not work inside an Apply to each loop as the Terminate action cannot be added inside of a loop.

0 REPLIES 0

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,385)