https://prefect.io logo
c

Christoph Wiese

04/07/2021, 8:42 AM
What happens if I set a flow run to “skipped”, but leave the “Include non-mapped task runs” checkbox unchecked? Will the tasks run anyway? If so, what is the use case for skipping a flow, but not the tasks within it?
n

nicholas

04/07/2021, 3:54 PM
Hi @Christoph Wiese - no, if the parent flow run isn't in a running/scheduled state, your tasks shouldn't run (there are exceptions to this related to executors but as a general rule it's ok). Generally changing the state of runs after the fact is a bookkeeping measure, used to do things like acknowledge a failed run or that a fix has been applied
c

Christoph Wiese

04/07/2021, 3:56 PM
Gotcha - I was using this to skip an upcoming scheduled run, so was wondering about it
Thanks for the explanation 🙂
n

nicholas

04/07/2021, 3:57 PM
Sure thing!
12 Views