I have a similar use case as that of Workflow status in batch Describe, where we want to know the workflow status of N workflows. We were using describeWorkflowExecution for each of the workflow, but this is taking more time and Iām looking for ways to optimise this. Is there a way that we can get the status of all the N workflow Ids in one call?
By status I mean the status that describeWorkflowExecution response has : "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED","WORKFLOW_EXECUTION_STATUS_RUNNING", "WORKFLOW_EXECUTION_STATUS_COMPLETED","WORKFLOW_EXECUTION_STATUS_FAILED", "WORKFLOW_EXECUTION_STATUS_CANCELED", "WORKFLOW_EXECUTION_STATUS_TERMINATED", "WORKFLOW_EXECUTION_STATUS_TIMED_OUT","UNRECOGNIZED", "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW"
Is listWorkflowExecutions going to return different status? If yes, can you point me to the documentation that explains about these statuses. Also, is there a way to use workflow IDs in list API as part of the query field in the request?