Class Flow
java.lang.Object
io.kestra.core.models.triggers.AbstractTrigger
io.kestra.core.models.triggers.types.Flow
- All Implemented Interfaces:
TriggerOutput<Flow.Output>
@Plugin(examples=@Example(title="This flow will be triggered after each successfully execution of flow `io.kestra.tests.trigger-flow` and forward the `uri` of `my-task` taskId outputs.",full=true,code="id: trigger-flow-listener\nnamespace: io.kestra.tests\n\ninputs:\n - name: from-parent\n type: STRING\n\ntasks:\n - id: only-no-input\n type: io.kestra.core.tasks.debugs.Return\n format: \"v1: {{trigger.executionId}}\"\n\ntriggers:\n - id: listen-flow\n type: io.kestra.core.models.triggers.types.Flow\n inputs:\n from-parent: \'{{ outputs.myTask.uri }}\'\n conditions:\n - type: io.kestra.core.models.conditions.types.ExecutionFlowCondition\n namespace: io.kestra.tests\n flowId: trigger-flow\n - type: io.kestra.core.models.conditions.types.ExecutionStatusCondition\n in:\n - SUCCESS"))
public class Flow
extends AbstractTrigger
implements TriggerOutput<Flow.Output>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.kestra.core.models.triggers.AbstractTrigger
id, type -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Flow
public Flow()
-
-
Method Details
-
evaluate
-