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:ย 

How to send Task Specific Parameters using run-now REST API.

p4pratikjain
Contributor

I am using Following job trigger API -
https://docs.databricks.com/api/workspace/jobs/runnow
Here is what I want to achieve -
I have complex workflow with multiple tasks and each task has python parameter named "--conf-file".
While using runnow REST API I can only set parameters at workflow level and not at individual task level. I have different value for each task for "--conf-file" parameter.
Is there any way I can pass or set this parameter at task level while triggering the Job using REST API.

Pratik Jain
1 ACCEPTED SOLUTION

Accepted Solutions

victormarcel
New Contributor III

@p4pratikjain wrote:

I am using Following job trigger API - Popeyes Guest Experience Survey
https://docs.databricks.com/api/workspace/jobs/runnow
Here is what I want to achieve - 
I have complex workflow with multiple tasks and each task has python parameter named "--conf-file".
While using runnow REST API I can only set parameters at workflow level and not at individual task level. I have different value for each task for "--conf-file" parameter.
Is there any way I can pass or set this parameter at task level while triggering the Job using REST API.


When making API requests to GPT-3, you send a series of messages in the messages parameter. Each message has a role (which can be "system," "user," or "assistant") and content (the content of the message). The conversation history is built by extending the list of messages.

View solution in original post

1 REPLY 1

victormarcel
New Contributor III

@p4pratikjain wrote:

I am using Following job trigger API - Popeyes Guest Experience Survey
https://docs.databricks.com/api/workspace/jobs/runnow
Here is what I want to achieve - 
I have complex workflow with multiple tasks and each task has python parameter named "--conf-file".
While using runnow REST API I can only set parameters at workflow level and not at individual task level. I have different value for each task for "--conf-file" parameter.
Is there any way I can pass or set this parameter at task level while triggering the Job using REST API.


When making API requests to GPT-3, you send a series of messages in the messages parameter. Each message has a role (which can be "system," "user," or "assistant") and content (the content of the message). The conversation history is built by extending the list of messages.

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