<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122600#M46823</link>
    <description>&lt;P&gt;Does this option available for Task type -Pipeline? I am able to see this for example notebook task but not for pipeline task&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jun 2025 02:56:23 GMT</pubDate>
    <dc:creator>NancyX</dc:creator>
    <dc:date>2025-06-24T02:56:23Z</dc:date>
    <item>
      <title>How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122542#M46808</link>
      <description>&lt;P&gt;Is it possible to pass dynamic parameters, such as job.run_id to a pipeline_task within a Databricks Workflow job?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 13:33:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122542#M46808</guid>
      <dc:creator>NancyX</dc:creator>
      <dc:date>2025-06-23T13:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122581#M46817</link>
      <description>&lt;P&gt;yes. it's in the &lt;STRONG&gt;Parameters&lt;/STRONG&gt; section&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dataminion01_0-1750703963158.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17707i4D02C267C63E27B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dataminion01_0-1750703963158.png" alt="dataminion01_0-1750703963158.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 18:40:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122581#M46817</guid>
      <dc:creator>dataminion01</dc:creator>
      <dc:date>2025-06-23T18:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122600#M46823</link>
      <description>&lt;P&gt;Does this option available for Task type -Pipeline? I am able to see this for example notebook task but not for pipeline task&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 02:56:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/122600#M46823</guid>
      <dc:creator>NancyX</dc:creator>
      <dc:date>2025-06-24T02:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/158416#M54703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/171391"&gt;@NancyX&lt;/a&gt;,&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;Apologies for the delayed follow-up.&amp;nbsp;Closing the loop here with the current state. Yes, pipeline tasks do support parameters, and you can use dynamic value references such as {{job.run_id}} when configuring a pipeline task’s Parameters field. The relevant docs are &lt;A href="https://docs.databricks.com/aws/en/jobs/pipeline" rel="noopener noreferrer nofollow" target="_blank"&gt;Pipeline task for jobs&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/jobs/parameter-use" rel="noopener noreferrer nofollow" target="_blank"&gt;Access parameter values from a task&lt;/A&gt;, and &lt;A href="https://docs.databricks.com/aws/en/jobs/dynamic-value-references" rel="noopener noreferrer nofollow" target="_blank"&gt;What is a dynamic value reference?&lt;/A&gt;. The docs also note that pipeline task parameters are in Beta, so if you do not see the Parameters section for a Pipeline task in the UI, that is usually because the feature is gated by preview availability in the workspace.&lt;/P&gt;
&lt;P class="wnfdntt _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;If you want to pass the workflow run ID to the pipeline, set a pipeline task parameter like run_id = {{job.run_id}}. Inside the pipeline, those values can then be referenced as pipeline parameters; for SQL pipelines, the documented approach is named parameters, while for Python pipeline code, the docs recommend continuing to use the pipeline configuration field for runtime values.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 15:51:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/158416#M54703</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-06-05T15:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass Dynamic parameters like job.run_id to a pipeline_task in Databricks workflow job?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/158419#M54704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/171391"&gt;@NancyX&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In addition to&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/216690"&gt;@Ashwin_DSA&lt;/a&gt;&amp;nbsp;'s explanation, if you need to do the same from Declarative Automation Bundles (DABs formerly) workflow YAML markup, here are a couple examples from one of my jobs.&lt;BR /&gt;&lt;BR /&gt;Run ID:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;- name: job_run_id
      default: "{{job.run_id}}"&lt;/LI-CODE&gt;&lt;P&gt;Referring your own custom job params in task params for example, here is an example of spark task referring to the custom params defined under the workflow job:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tasks:
  - task_key: my_task
    spark_python_task:
      python_file: ../src/my_python_file.py
      parameters:
        - "--is-historical-run"
        - "{{job.parameters.is_historical_run}}"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2026 16:58:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-dynamic-parameters-like-job-run-id-to-a-pipeline/m-p/158419#M54704</guid>
      <dc:creator>mazeem-arbisoft</dc:creator>
      <dc:date>2026-06-05T16:58:23Z</dc:date>
    </item>
  </channel>
</rss>

