But this throws WorkflowNotFoundException in case the workflow has ended. Should I use the history for such workflow to query it’s state / events or is there a way to retrieve the ended workflow to query it the same way I can query a running workflow?
What is your namespace retention period? WorkflowNotFoundException is thrown when a workflow with a given id is not known to the service. It was either never created or was removed after the retention period elapsed.
Thank you for your answer. I’m not configuring a retention period, so I assume it’s a set to a default value. I find it hard to find docs regarding the retention configuration - could you please point me to the docs that describe how I could change the retention value?