I am trying to use DescribeWorkflowExecution to get the status of a workflow execution but I can’t find any PHP examples of this.
Here is what I have tried:
$run = $this->workflowClient->newUntypedRunningWorkflowStub('workflow-run-id');
$d = new DescribeWorkflowExecutionRequest();
$d->setExecution($run->getExecution());//This gives me an error.
$this->serviceClient->DescribeWorkflowExecution($d)