Daniel Komisar
02/28/2022, 6:01 PMflow_run(where: {state: {_eq: "Finished"}})
that returns nothing, I think because it is using string matching. Is the set of strings that can appear in state
listed somewhere? Thank you!Kevin Kho
02/28/2022, 6:06 PMquery {
flow_run(where: {state: {_in: ["Success","Failed"]}}) {
id
}
}
to get the Finished states?Anna Geller
02/28/2022, 6:07 PM{
flow_run(
where: {state: {_in: ["Failed", "Success", "Finished"]}}
order_by: {state_timestamp: desc}
limit: 5
) {
name
start_time
end_time
version
agent {
type
}
}
}
Daniel Komisar
02/28/2022, 6:08 PMCancelled
? You’d need a list of all the possible states.Kevin Kho
02/28/2022, 6:14 PMDaniel Komisar
02/28/2022, 6:15 PMKevin Kho
02/28/2022, 6:30 PM