alex
07/15/2022, 4:15 PMalex
07/15/2022, 4:17 PMAnna Geller
alex
07/15/2022, 4:28 PMAnna Geller
alex
07/15/2022, 4:32 PMAnna Geller
alex
07/18/2022, 10:28 PMquery get_running_flows {
  flow_run(where: {state: {_eq: "Running"}}) {
      state
      created
    	flow {
        id
      }
  }
}
I received this error
{
  "errors": [
    {
      "path": [
        "flow_run",
        0,
        "created"
      ],
      "message": "Cannot return null for non-nullable field flow_run.created.",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR"
      }
    }
  ],
  "data": null
}
So it looks like the associated flow is no longer available.
I tried deleting an older flow runs using
mutation delete_flow_run {
  deleteFlowRun(input: {flowRunId: 
    "87b8fa4f-a206-438f-95b2-364ea4187338"}) {
    success,
    error
  }
}
but I get this response
{
  "data": {
    "deleteFlowRun": {
      "success": false,
      "error": null
    }
  }
}