Skip to content

Commit 1143caf

Browse files
fix(flow): Fixed Flow trigger example format (#12198)
1 parent a3c781f commit 1143caf

File tree

1 file changed

+13
-13
lines changed
  • core/src/main/java/io/kestra/plugin/core/trigger

1 file changed

+13
-13
lines changed

core/src/main/java/io/kestra/plugin/core/trigger/Flow.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -206,22 +206,22 @@
206206
tasks:
207207
- id: send_alert
208208
type: io.kestra.plugin.notifications.sentry.SentryExecution
209-
executionId: "{{ trigger.executionId }}"
210-
transaction: "/execution/id/{{ trigger.executionId }}"
211-
dsn: "{{ secret('SENTRY_DSN') }}"
212-
level: ERROR
209+
executionId: "{{ trigger.executionId }}"
210+
transaction: "/execution/id/{{ trigger.executionId }}"
211+
dsn: "{{ secret('SENTRY_DSN') }}"
212+
level: ERROR
213213
214214
triggers:
215215
- id: failed_prod_workflows
216-
type: io.kestra.plugin.core.trigger.Flow
217-
conditions:
218-
- type: io.kestra.plugin.core.condition.ExecutionStatus
219-
in:
220-
- FAILED
221-
- WARNING
222-
- type: io.kestra.plugin.core.condition.ExecutionNamespace
223-
namespace: company.payroll
224-
prefix: false"""
216+
type: io.kestra.plugin.core.trigger.Flow
217+
conditions:
218+
- type: io.kestra.plugin.core.condition.ExecutionStatus
219+
in:
220+
- FAILED
221+
- WARNING
222+
- type: io.kestra.plugin.core.condition.ExecutionNamespace
223+
namespace: company.payroll
224+
prefix: false"""
225225
)
226226

227227
},

0 commit comments

Comments
 (0)