This SDK update fixes the error handling path of the workflow, which would correctly notify that an error occurred when submitting an order to a deactivated shipping service but would fail to actually invoke the refund_payment activity or send a notification about the refunded payment. The root issue was a bug in the Durable Task Python SDK, which has since been fixed.
With this PR to update the SDK version, the failure handling part of the demo now works 100% correctly.
This PR updates the workflow-orderprocessing-python sample to use the latest version of the Workflow SDK, v0.3.0.
This SDK update fixes the error handling path of the workflow, which would correctly notify that an error occurred when submitting an order to a deactivated shipping service but would fail to actually invoke the
refund_payment
activity or send a notification about the refunded payment. The root issue was a bug in the Durable Task Python SDK, which has since been fixed.With this PR to update the SDK version, the failure handling part of the demo now works 100% correctly.