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>