This message was deleted.
# ask-marvin
s
This message was deleted.
m
thought for 197.7 seconds
Looks like your question got cut off — are you trying to match “all failure-like” flow-run events without listing each one? Assuming Prefect 3.x: - Yes, you can use wildcards in an automation trigger’s
expect
list (glob-style). For example:
Copy code
expect:
    - "prefect.flow-run.*"
That will match any flow-run state event. - There isn’t a built-in alias or group for “all failures/terminal states,” so if you only want specific failure-like states (e.g., Failed, Crashed, TimedOut) you’ll typically list them explicitly, like you’re doing:
Copy code
expect:
    - "prefect.flow-run.Failed"
    - "prefect.flow-run.Crashed"
    - "prefect.flow-run.TimedOut"
If your goal is different (e.g., “any terminal state except Completed” or “anything that isn’t Running/Completed”), let me know and I can suggest a concise pattern setup.