Since 2021.02.
List all expected runtimes for workflows per module instance id for currently running and pending taskruns.
Only workflows of scheduled tasks that contain module instance descriptors that have been configured with updateModuleRunTimesOnCompletion enabled, will be available in this end point. The expected start time of a module is calculated based on the scheduled next due time and the expected pending duration time.
The expected end time of a module is calculated based on the scheduled next due time, the expected pending duration time and the expected running time.
The details are described below:
Item | Details |
---|---|
Workflow Id | The workflow id of the running or pending taskrun |
Module Instance id | The module instance id of the running or pending taskrun |
Expected Pending Duration | Expected duration time the task run will be in the pending state |
Expected Running Duration | Expected running time of the task run. |
Expected Start Time | nextDueTime of the task + the pending time of the module |
Expected Completion Time | nextDueTime of the task _+ the expected pending time + the expected runTime of the module |