How to check if scheduled workflow already started?

Hi Everyone,
I have a scheduled workflow and I want to check if it is running right now or it is still waiting for the scheduled time, how can I do it?

DescribeWorkflowExecution gRPC API returns WorkflowExecutionInfo which contains execution_time field. This field is the time of the actual execution of the cron. If the current time is passed the execution_time then the workflow is already started actual execution assuming that workflow worker is up and running.

1 Like