Hi! Is there a way to configure jobs in a similar ...
# ask-community
b
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
Barry, did the documentation rex linked answer your question?
b
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
b
Ok awesome. So in my example, I could do something like ["*stage_customer_data", "**stage_payment_data"] and add it in the launchpad?
r
yup - you can play around with the op selection in Dagit to see if it's correct.
b
Ok sure, thank you!