yaml
type: "io.kestra.plugin.core.execution.exit"
Examples
yaml
id: exit
namespace: company.team
inputs:
- id: state
type: SELECT
values:
- CONTINUE
- END
defaults: CONTINUE
tasks:
- id: if
type: io.kestra.plugin.core.flow.If
condition: "{{inputs.state == 'CONTINUE'}}"
then:
- id: hello
type: io.kestra.plugin.core.log.Log
message: I'm continuing
else:
- id: exit
type: io.kestra.plugin.core.execution.Exit
state: KILLED
- id: end
type: io.kestra.plugin.core.log.Log
message: I'm ending
Properties
state string
Default
SUCCESS
Possible Values
SUCCESS
WARNING
KILLED
FAILED
CANCELED