Execution App Block Gantt

Execution App Block Gantt

Certified

A block for displaying the progress of a flow execution as a Gantt chart.

A simplified version of the execution Gantt view: one bar per task run, with its state and duration. It shows no logs, outputs or task actions, so it is safe to expose to users who cannot log in to Kestra. On a RUNNING layout, the chart updates as the execution progresses.

yaml
type: io.kestra.plugin.ee.apps.execution.blocks.Gantt

Follow the progress of the execution as a Gantt chart, and hide the approval step once it succeeds

yaml
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
  type: PRIVATE

layout:
  - on: OPEN
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
        text: Request VM

  - on: RUNNING
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: Provisioning is in progress, keep this page open.
      - type: io.kestra.plugin.ee.apps.execution.blocks.Gantt

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
        filter:
          exclude:
            - approval
Properties

The filter for the task runs, on their task id.

include keeps only the task runs of the listed tasks, and exclude drops them - for instance, to hide technical tasks the app's users do not need to follow.

Definitions
excludearray
SubTypestring
includearray
SubTypestring
Minimum>= 1

The number of columns the block spans when it is placed in a grid.

Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.