<?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 Jobs &amp;amp; Pipelines: is it possible for &amp;quot;Run parameters&amp;quot; to display a value generated in code? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155208#M54211</link>
    <description>&lt;P&gt;Hi. I'm testing out the "Run parameters" you see in&amp;nbsp;Jobs &amp;amp; Pipelines. As far as I know, this value is set manually by "Job parameters" on the right side bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I set the value within code though? Like if I want something dynamically generated depending on the current month and that value propagates to other notebooks within the job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'd also like to see the value in the GUI but I don't see how to get it to show a value generated in my Python code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="397973_0-1776867978321.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/26308i4B37C4FA3FFBA01A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="397973_0-1776867978321.png" alt="397973_0-1776867978321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise if you know how to do it. Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2026 14:30:48 GMT</pubDate>
    <dc:creator>397973</dc:creator>
    <dc:date>2026-04-22T14:30:48Z</dc:date>
    <item>
      <title>Jobs &amp; Pipelines: is it possible for "Run parameters" to display a value generated in code?</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155208#M54211</link>
      <description>&lt;P&gt;Hi. I'm testing out the "Run parameters" you see in&amp;nbsp;Jobs &amp;amp; Pipelines. As far as I know, this value is set manually by "Job parameters" on the right side bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I set the value within code though? Like if I want something dynamically generated depending on the current month and that value propagates to other notebooks within the job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'd also like to see the value in the GUI but I don't see how to get it to show a value generated in my Python code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="397973_0-1776867978321.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/26308i4B37C4FA3FFBA01A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="397973_0-1776867978321.png" alt="397973_0-1776867978321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise if you know how to do it. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 14:30:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155208#M54211</guid>
      <dc:creator>397973</dc:creator>
      <dc:date>2026-04-22T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs &amp; Pipelines: is it possible for "Run parameters" to display a value generated</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155220#M54212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/46589"&gt;@397973&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Interesting question and I did not know the answer. So, I ran the test you described on my own workspace. Sharing what I found&amp;nbsp;in case it saves you time. &lt;BR /&gt;&lt;BR /&gt;The short answer is that the task values won't populate the Run parameters column. Values set with dbutils.jobs.taskValues.set do&amp;nbsp;propagate to downstream tasks through {{tasks.&amp;lt;task&amp;gt;.values.&amp;lt;key&amp;gt;}}, which is the "pass data between tasks" half of&amp;nbsp;your question. But the Run object itself feeds the Run parameters column, and task values live one level down on&amp;nbsp;each Task. They won't surface in that column. &lt;BR /&gt;&lt;BR /&gt;Why the column looks the way it does is because it reads from two sources... the job parameter defaults as written, and any&amp;nbsp;overrides passed at run-now time. Dynamic value references like {{job.start_time.month}} get resolved when a task&amp;nbsp;consumes the parameter, not for display in the column. So if you set the default to {{job.start_time.month}}, tasks&amp;nbsp;will receive 4, but the column will show the literal {{job.start_time.month}} text. I confirmed this by running a job both ways.&lt;/P&gt;
&lt;P&gt;Three options depending on how much you care about the column:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Define a job parameter with {{job.start_time.iso_date}} or {{job.start_time.month}} as default. Tasks read it via a widget and get the resolved value. The column shows the template text for scheduled runs and concrete values only&amp;nbsp;when someone passes an override. Often fine, since the run's start time is already visible in the Runs list.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Skip the column entirely and rely on the run start time already shown on each row. If the goal is "scan the list and know which month each run was for," this is free.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Launcher pattern. A small notebook scheduled to run monthly that computes the month in Python and calls w.jobs.run_now(job_id=&amp;lt;real_job&amp;gt;, job_parameters={"run_month_number": str(month)}). The concrete value lands as an&amp;nbsp;override on the real run, so the column shows run_month_number: 4. It works, but you're maintaining a second job to&amp;nbsp;populate one column.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwin_DSA_0-1776874504131.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/26311i1C353671B3287797/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ashwin_DSA_0-1776874504131.png" alt="Ashwin_DSA_0-1776874504131.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question back to you... Is the column visibility a hard requirement, or a nice-to-have? If it's just "I want to see the month at a glance," option 2 already covers it. If an ops process actually reads that cell, option 3 is the only way to get a Python-computed value in there. That framing should help you decide whether the extra job is worth the upkeep as I personally think it is a bit convoluted and more than what your use case may warrant.&lt;/P&gt;
&lt;P&gt;Hope that helps.&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>Wed, 22 Apr 2026 16:15:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155220#M54212</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-04-22T16:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Jobs &amp; Pipelines: is it possible for "Run parameters" to display a value generated</title>
      <link>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155368#M54235</link>
      <description>&lt;P&gt;It's a nice to have, not required. I'll just set it in code. Thanks for checking.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 20:37:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/jobs-amp-pipelines-is-it-possible-for-quot-run-parameters-quot/m-p/155368#M54235</guid>
      <dc:creator>397973</dc:creator>
      <dc:date>2026-04-23T20:37:39Z</dc:date>
    </item>
  </channel>
</rss>

