https://prefect.io logo
Title
b

Braun Reyes

03/10/2020, 10:05 PM
is it possible to trigger a task based on the value of parameter? like...
@task(trigger=<boolean based off value of parameter)
c

Chris White

03/10/2020, 10:08 PM
Glad to see you’re using the scheduled Parameters feature! To achieve this pattern right now, you’ll need to use some form of conditional task (e.g., either a
switch
/
ifelse
task), or create a custom task that accepts the Parameter as an input and raises a
SKIP
signal if you don’t want it’s downstream dependencies to run
b

Braun Reyes

03/10/2020, 10:17 PM
That makes sense
Thanks
👍 1
We should have a channel for interesting DAGs
c

Chris White

03/11/2020, 4:00 PM
@nicholas might like that haha
😍 1