<?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: Referencing notebook exit value as a variable in a data pipeline in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3511711#M950</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608020" target="_blank"&gt;@v-cboorla-msft&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. I got to that point independently but I can't parse the exit value so that I get several independent variables out of it. It would be great to know how to tackle that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, is there a more advanced documentation for expression builder? I found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/expression-language" target="_self" rel="nofollow noopener noreferrer"&gt;this page&lt;/A&gt;&amp;nbsp;and it's pretty fine, but it doesn't go beyond the functions listed in the builder. Even the expression I used in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Set Variable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;(see my second post) was found through trial and error, after an extensive web search; it was not efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 10:28:59 GMT</pubDate>
    <dc:creator>Ostrzak</dc:creator>
    <dc:date>2023-11-02T10:28:59Z</dc:date>
    <item>
      <title>Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3507053#M923</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general: I am trying to build a pipeline around multiple PySpark notebooks, with some additional pipeline features. To achieve it I need to pass values from a notebook to a pipeline.&lt;/P&gt;&lt;P&gt;I checked several pages concerning the topic and consensus was to use Exit Value in the notebook:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mssparkutils.notebook.exit(variable)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then create a pipeline variable, and then in&amp;nbsp;&lt;EM&gt;Set variable&lt;/EM&gt; pipeline activity use a dynamic expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;@activity('Notebook_name').output.status.Output.result.exitValue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason I get such error in &lt;EM&gt;Set Variable&amp;nbsp;&lt;/EM&gt;activity:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The expression 'activity('Notebook1').output.status.Output.result.exitValue' cannot be evaluated because property 'Output' cannot be selected. Property selection is not supported on values of type 'String'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find anything on it's origin and what I should change. I tried formatting exit value as an number or string and it doesn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate the help. If there is another way to "pass" values from the notebook to the pipeline, please let me know; I need it to work further.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:43:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3507053#M923</guid>
      <dc:creator>Ostrzak</dc:creator>
      <dc:date>2023-10-31T11:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3508273#M928</link>
      <description>&lt;P&gt;An update: I found out that changing Set variable activity to:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;@activity('Notebook_name').output.result.exitValue&lt;/LI-CODE&gt;&lt;P&gt;... solves the main problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still haven't figured out how to pass multiple notebook values to pipeline variables, so if anyone could help me I will be grateful.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 22:24:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3508273#M928</guid>
      <dc:creator>Ostrzak</dc:creator>
      <dc:date>2023-10-31T22:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3509372#M936</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="634523" data-lia-user-login="Ostrzak" class="lia-mention lia-mention-user"&gt;Ostrzak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Fabric Community.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We are reaching out to the internal team to get more information related to your query and will get back to you as soon as we have an update.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:36:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3509372#M936</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-11-01T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3509672#M938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="634523" data-lia-user-login="Ostrzak" class="lia-mention lia-mention-user"&gt;Ostrzak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can pass multiple parameters from Notebook to a pipeline using list of parameters. I have attached the screenshots along with the steps for your reference.&lt;/P&gt;
&lt;P&gt;1) Create a list of parameters inside a notebook.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2) Using notebook and set variable activites we can pass the parameters to a pipeline.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information is helpful. Please do let us know if you have any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 13:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3509672#M938</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-11-01T13:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3511711#M950</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/608020" target="_blank"&gt;@v-cboorla-msft&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. I got to that point independently but I can't parse the exit value so that I get several independent variables out of it. It would be great to know how to tackle that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, is there a more advanced documentation for expression builder? I found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/expression-language" target="_self" rel="nofollow noopener noreferrer"&gt;this page&lt;/A&gt;&amp;nbsp;and it's pretty fine, but it doesn't go beyond the functions listed in the builder. Even the expression I used in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Set Variable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;(see my second post) was found through trial and error, after an extensive web search; it was not efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 10:28:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3511711#M950</guid>
      <dc:creator>Ostrzak</dc:creator>
      <dc:date>2023-11-02T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3527437#M1083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="634523" data-lia-user-login="Ostrzak" class="lia-mention lia-mention-user"&gt;Ostrzak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delay in reply from our side. Did you got a resolution for this?&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others . &lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help . &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 09:55:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3527437#M1083</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-11-10T09:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3534467#M1112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="634523" data-lia-user-login="Ostrzak" class="lia-mention lia-mention-user"&gt;Ostrzak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 06:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3534467#M1112</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-11-15T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3551294#M1199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608020" data-lia-user-login="v-cboorla-msft" class="lia-mention lia-mention-user"&gt;v-cboorla-msft&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't found a solution to this problem yet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 17:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3551294#M1199</guid>
      <dc:creator>Ostrzak</dc:creator>
      <dc:date>2023-11-24T17:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3706975#M1886</link>
      <description>&lt;P&gt;I also struggled, until I tried ignoring the expression builder syntax errors and just ran my pipeline. I was able to get the following to work by using a delimited string as the notebook return value.&lt;BR /&gt;&lt;BR /&gt;Notebook pyspark:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;lResult="returnValueOne=25|returnValueTwo=abc|returnValueThree=19"
mssparkutils.notebook.exit(str(lResult))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression for varAllReturnValuesArray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;@split(activity('Test Notebook').output.result.exitValue,'|')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Expression for varReturnValueOneString&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;@last(split(first(split(activity('Test Notebook').output.result.exitValue,'|')),'='))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Expression for varReturnValueTwoString&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;@last(split(split(activity('Test Notebook').output.result.exitValue,'|')[1],'='))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 06:51:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3706975#M1886</guid>
      <dc:creator>Nero</dc:creator>
      <dc:date>2024-02-19T06:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3713015#M1913</link>
      <description>&lt;P&gt;For my own implementation the delimited string just wasnt flexible enough - so here's a version using a JSON object as the notebook return value:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Notebook pyspark:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;lResult={"numUpdated":10,"message":"success","fruit":["apple","orange","grapes"]}
mssparkutils.notebook.exit(str(lResult))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression for varMessageStr:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Anonymous&lt;/a&gt;(activity('Test Notebook').output.result.exitValue).message&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression for varNumUpdatedInt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="166213" data-lia-user-login="INT" class="lia-mention lia-mention-user"&gt;INT&lt;/a&gt;(json(activity('Test Notebook').output.result.exitValue).numUpdated)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression for varFruitArray:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Anonymous&lt;/a&gt;(activity('Test Notebook').output.result.exitValue).fruit&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 04:42:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3713015#M1913</guid>
      <dc:creator>Nero</dc:creator>
      <dc:date>2024-02-21T04:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3834348#M2606</link>
      <description>&lt;P&gt;Just want to say that this post was EXTREMELY helpful to me and I want to say thank you for sharing this really nice approach.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 15:06:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/3834348#M2606</guid>
      <dc:creator>AdamFry</dc:creator>
      <dc:date>2024-04-12T15:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4072148#M4827</link>
      <description>&lt;P&gt;Bravo! This was extremely helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 21:02:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4072148#M4827</guid>
      <dc:creator>sam_wise</dc:creator>
      <dc:date>2024-07-31T21:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4163589#M5462</link>
      <description>&lt;P&gt;Thank you for this infomation&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="608020" data-lia-user-login="v-cboorla-msft" class="lia-mention lia-mention-user"&gt;v-cboorla-msft&lt;/a&gt; .&lt;BR /&gt;Can you also help specifying what is the type specified for the variable and what is the expression used in the set variable please?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prabhat&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 05:14:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4163589#M5462</guid>
      <dc:creator>prabhatnath</dc:creator>
      <dc:date>2024-09-21T05:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4243576#M5914</link>
      <description>&lt;P&gt;This is exactly what I needed. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 19:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4243576#M5914</guid>
      <dc:creator>tlanza89_RWL</dc:creator>
      <dc:date>2024-10-15T19:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4243988#M5924</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="634523" data-lia-user-login="Ostrzak" class="lia-mention lia-mention-user"&gt;Ostrzak&lt;/a&gt;&amp;nbsp;- This request is really similiar to one I replied to a few months back. (&lt;A href="https://community.fabric.microsoft.com/t5/Data-Pipeline/Use-Notebook-Variable-in-Email-Activity/m-p/3973679#M3786" target="_blank" rel="noopener"&gt;https://community.fabric.microsoft.com/t5/Data-Pipeline/Use-Notebook-Variable-in-Email-Activity/m-p/3973679#M3786&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you send back a JSON object you can convert the string in the pipeline use&amp;nbsp;@Json() and then reference values within the JSON object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;@Json(activity(&amp;lt;activity_name&amp;gt;).output.result.exitValue).&amp;lt;property&amp;gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 16 Oct 2024 03:32:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4243988#M5924</guid>
      <dc:creator>jwinchell40</dc:creator>
      <dc:date>2024-10-16T03:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4394902#M7000</link>
      <description>&lt;P&gt;Thank you so much for this solution - curious question for you: I was able to get it working only with&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(activity(&lt;/SPAN&gt;&lt;SPAN&gt;'Test Notebook&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;output&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;status&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Output&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;result&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exitValue&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;param1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;rather than&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(activity(&lt;/SPAN&gt;&lt;SPAN&gt;'Test Notebook'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;output.r&lt;/SPAN&gt;&lt;SPAN&gt;esult&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exitValue&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;year&lt;BR /&gt;&lt;BR /&gt;Do you know why this could be?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Feb 2025 17:12:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4394902#M7000</guid>
      <dc:creator>blossom_dataeng</dc:creator>
      <dc:date>2025-02-04T17:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing notebook exit value as a variable in a data pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4394903#M7001</link>
      <description>&lt;P&gt;Apologies, the bottom should read:&amp;nbsp;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(activity(&lt;/SPAN&gt;&lt;SPAN&gt;'Test Notebook'&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;output.r&lt;/SPAN&gt;&lt;SPAN&gt;esult&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exitValue&lt;/SPAN&gt;&lt;SPAN&gt;).param1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 17:12:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Referencing-notebook-exit-value-as-a-variable-in-a-data-pipeline/m-p/4394903#M7001</guid>
      <dc:creator>blossom_dataeng</dc:creator>
      <dc:date>2025-02-04T17:12:55Z</dc:date>
    </item>
  </channel>
</rss>

