When a workflow run is executed, various data is written to ZooKeeper to keep track of the task runs and results. The WorkflowAdmin APIs allow you to get run info as well as clean up old runs. NOTE: the admin APIs can be called from any Workflow server.
Info about all runs completed or currently executing in the workflow manager.
Info about the given run.
Info about all the tasks completed, started or waiting for the given run.
A map of all task details for the given run.
Delete all saved data for the given run. IMPORTANT: you should clean up old run data periodically so that your ZooKeeper instance doesn't get burdened by old data. Also, each time the WorkflowManager starts, it cycles through existing run data. Old run data will slow startup performance.
Information about a specific task run.
The RunId.
The start time (in UTC) of the run.
Returns true if the run has completed.
The completion time (in UTC) of the run.
The TaskId.
Returns true if the task has started. Otherwise, it is still waiting on dependent parent tasks.
The instance that ran the task.
The start time (in UTC) of the task.
Returns true if the task has completed.
For completed tasks, the result data.