cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks Workflows - Generate Tasks Programmatically

ChristianRRL
Valued Contributor

Hi there,

I've used databricks workflows to explicitly create tasks with known input parameters (either user input or default parameters). But I'm wondering, what if I want the output of one task to be a list of specific ID's (e.g. id = [7,8,10,13,27]), and then I want individual parallel tasks generated having these ID's be the new input parameters for downstream tasks.

Is this possible to implement out of the box with default Databricks Workflows (GUI)? Or for this example, would I need to leverage something like Databricks Jobs API to generate workflow tasks programmatically as per my example?

1 REPLY 1

cgrant
Databricks Employee
Databricks Employee

This sounds like a great fit for the For Each task type! Here is the blog, and the documentation

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group