is it possible to trigger a task based on the valu...
# prefect-community
b
is it possible to trigger a task based on the value of parameter? like...
Copy code
@task(trigger=<boolean based off value of parameter)
c
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
That makes sense
Thanks
👍 1
We should have a channel for interesting DAGs
c
@nicholas might like that haha
😍 1