Expected Behavior
Always get a valid JSON using the to_json method
Actual Behavior
When workflow completes successfully, to_json (and str) methods fail with
Exception calling application: 'NoneType' object has no attribute 'message'
Steps to Reproduce the Problem
- Run any Workflow to completion, such that failure_details is absent from the workflow state.
- Call either get_state or wait_for_workflow_completion
- Call to_json on the returned state object
Release Note
RELEASE NOTE: