Replies: 1 comment
-
Hi @najoshi7 - your query should work as you expect but note that it will return data for all versions of your Flow. In general, it's best practice to use hyper-focused queries instead of loose queries that involve multiple nested where clauses and nested sorts. A much more performant and intuitive query would be:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello prefect community,
I want to fetch the state of most recent (i.e. last) execution of a particular workflow- name and a particular project-name. I tried following query, but it returns all executions for a given workflow:
The above query returns information about all executions instead of the latest one.
Please help.
Beta Was this translation helpful? Give feedback.
All reactions