I'm abusing things again :upside_down_face: My sce...
# ask-metaflow
r
I'm abusing things again 🙃 My scenario is as follows we are running the same flow a lot of times (sometimes hundreds) simultaneously with different parameters via step functions I'm trying to identify how many are currently running -
Flow.runs()
doesn't seem to help because it doesn't return that many runs and we have thousands of runs of the same flow over time - filtering by tag doesn't help (and is a bit tricky because it's step functions anyway) Tangentially related I'm also finding it hard to tell if a flow has failed -
.finished
isn't being set to true when it fails The UI seems to be able to cope so any ideas how to do this in python? The names of the step functions are quite long so usually get truncated as well so that's another complication which makes it tricky to query the step function instead - I will be able to do that but hoping there's a easier way than parsing the output when it's deployed Thanks!