Skip to content

Add io.kestra.plugin.core.execution.Kill core task allowing to conditionally Kill execution (and if propagateKill is true also child executions) #10524

@anna-geller

Description

@anna-geller

Feature description

Child:

id: child
namespace: demo

tasks:
  - id: sleep
    type: io.kestra.plugin.core.flow.Sleep
    duration: PT2M

Parent:

id: parent
namespace: demo

tasks:
  - id: subflow
    type: io.kestra.plugin.core.flow.Subflow
    namespace: demo
    flowId: child
    wait: false

  - id: kill
    type: io.kestra.plugin.core.execution.Kill # 🔥 new task
    runIf: "{{ some condition in your flow that would require killing this and downstream executions }}"
    propagateKill: true # can be false by default to be safe

Metadata

Metadata

Assignees

Labels

area/backendNeeds backend code changesenhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions