I’m currently referencing the workflow id section of the docs and it states that attempting to spawn a second workflow with the same workflow ID will result in an error. I am attempting to extract that error, but I’m not actually receiving it.
I read a little further into the docs, and I believe that my best bet here is to call DescribeWorkflowExecution(…) prior to executing the workflow. Here I can check if the ID is attached to a running workflow. This does introduce a very tiny race condition, but I believe I’m willing to live with it.
If there is a better solution here, I would love to hear it though!