https://dagster.io/ logo
#ask-community
Title
# ask-community
b

Barry Sun

05/27/2022, 6:01 AM
Hi! Is there a way to configure jobs in a similar way to ops? I'm looking to be able to run certain tasks within a job optionally - or should I be making separate jobs? For example, my job might be called `stage_data()`and it has three ops inside called
stage_customer_data
,
stage_payment_data
, and
stage_sales_data
. Say there will be times when I don't want to run
stage_sales_data
, is there a way to make this step optional within the job?
🤖 1
s

sean

05/27/2022, 12:59 PM
Barry, did the documentation rex linked answer your question?
b

Barry Sun

05/29/2022, 11:44 PM
Ok interesting, thanks Rex. Is this showing that an op's output depends on if a condition is met inside the op? I was more looking for the user being able to choose which ops to run in a job. In my above example, I have 1 job that contains three ops. But sometimes I only want to run 2 of the 3 ops. Is there a way to configure this?
r

rex

05/29/2022, 11:54 PM
b

Barry Sun

05/30/2022, 12:32 AM
Ok awesome. So in my example, I could do something like ["*stage_customer_data", "**stage_payment_data"] and add it in the launchpad?
r

rex

05/30/2022, 4:25 AM
yup - you can play around with the op selection in Dagit to see if it's correct.
b

Barry Sun

05/30/2022, 6:19 AM
Ok sure, thank you!
3 Views