Marwan Sarieddine
11/23/2021, 6:29 PMMarwan Sarieddine
11/23/2021, 6:29 PMMarwan Sarieddine
11/23/2021, 6:31 PMAnna Geller
Anna Geller
in case the flow run fails due to resource exhaustionif your infrastructure crashes in the middle of a flow run, then it’s possible that the Flow’s heartbeat dies with it. In this scenario, it would be much more difficult to take action based on failure since the backend may think that your flow run is still in progress. This is also hard to answer without knowing your infrastructure, because it heavily dependent on where and how you run and configure your agent, run config, etc.
Marwan Sarieddine
11/23/2021, 7:57 PMMarwan Sarieddine
11/23/2021, 8:06 PMMarwan Sarieddine
11/23/2021, 8:07 PMMarwan Sarieddine
11/23/2021, 8:09 PMAnna Geller
Marwan Sarieddine
11/23/2021, 8:12 PMMarwan Sarieddine
11/23/2021, 8:12 PMAnna Geller
Zanie
mutation {
create_action(input: {config: {create_flow_run: {flow_group_id: "..."}}}) {
id
}
}
Zanie
Zanie
flow_group_id: UUID!
The flow group id to create a flow run for
parameters: JSON
Optional parameters to pass to the flow run
in_seconds: Int
An optional amount of time to wait before starting the flow run
run_name: String
An optional name for the flow run
labels: [String]
An optional list of labels for the flow run
idempotency_key: String
An optional key to prevent duplicate runs from being created
Zanie
action_id
, you can create a hook to the relevant event with create_flow_sla_failed_hook
or create_flow_run_state_changed_hook
Marwan Sarieddine
11/23/2021, 8:31 PMZanie
{"foo": "foo-value", "failed_flow_run": "{flow_run_id}"}
Zanie