Execution App Block ResumeExecutionForm

Execution App Block ResumeExecutionForm

Certified

A block for displaying the form to resume an execution.

Displays the onResume inputs of the Pause task that paused the execution. It renders nothing when the task defines no onResume inputs.

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

Display the form for the Pause task's onResume inputs

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: PAUSE
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Markdown
        content: "## Approve the VM request"
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
      - type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
        text: Approve
        style: SUCCESS
      - type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
        text: Reject
        style: DANGER

  - on: SUCCESS
    blocks:
      - type: io.kestra.plugin.ee.apps.core.blocks.Alert
        style: SUCCESS
        content: The VM was provisioned.
Properties
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.