[Workflow] try/except not working correctly in workflow functions #627
Labels
kind/bug
Something isn't working
waiting for external dependency
depends on an external dependency that requires a release or fix
Milestone
Expected Behavior
Consider the following logic inside a workflow:
If the
submit_order_to_shipping
activity fails, one would expect both thenotify
andrefund_payment
activities to run inside theexcept
block.Actual Behavior
However, as of the 0.2.0 workflow extension release, only the
notify
activity executes, and then the workflow fails.The root cause is a bug in the Durable Task Python SDK: microsoft/durabletask-python#20
Steps to Reproduce the Problem
Write a workflow where an activity failure triggers logic in an
except
block and tries to perform multiple steps inside thecatch
block.Release Note
RELEASE NOTE: FIX try/except not working correctly in workflow functions
The text was updated successfully, but these errors were encountered: