<?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: Set Pipeline Return Code using Dynamic Content in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4648478#M7487</link>
    <description>&lt;P&gt;Thanks, while I have not tried it yet, I'm 99% sure that is what I missed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 10:45:54 GMT</pubDate>
    <dc:creator>ToddChitt</dc:creator>
    <dc:date>2025-04-11T10:45:54Z</dc:date>
    <item>
      <title>Set Pipeline Return Code using Dynamic Content</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4647292#M7474</link>
      <description>&lt;P&gt;I have a pipeline that has one job: use a Web activity to get an Access Token to be used in other Web activities. Those other web activities in other pipelines so to simplify the design, I want to call the first pipeline from within the second (and many other) pipeline(s). So in the first pipeline, I have a task that sets the Pipeline return value, and for the Value, I put in the dynamic content just as I would if I was setting a Pipeline variable:&amp;nbsp;@activity('Request an Access Token').output.access_token&lt;/P&gt;
&lt;P&gt;Note that the dynamic content expression yields the proper value if it is used to set a pipeline varialbe, but when used to set a return code, the result is simple the literal expression of "@activity('Request an Access Token').output.access_token".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question, how do I set a pipeline return value using dynamic content?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 15:56:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4647292#M7474</guid>
      <dc:creator>ToddChitt</dc:creator>
      <dc:date>2025-04-10T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Pipeline Return Code using Dynamic Content</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4647663#M7476</link>
      <description>&lt;P&gt;Going to take a wild guess here.&lt;BR /&gt;Have you changed the type of the pipeline return value to 'Expression' instead of 'string'?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I did a simple 2 pipeline workflow, the first calls the second and sets a variable based on the return value from the second.&amp;nbsp; (the second pipeline just has a Get Metadata step and outputs that as its return value.&lt;BR /&gt;&lt;BR /&gt;Inner pipeline - you've seen the Set Variable in the picture above.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Outer pipeline&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Outer set variable&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;And the audit result&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this helps, please consider &lt;EM&gt;Accepting as a Solution&lt;/EM&gt; to help others find it more easily.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 21:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4647663#M7476</guid>
      <dc:creator>spencer_sa</dc:creator>
      <dc:date>2025-04-10T21:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Pipeline Return Code using Dynamic Content</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4648478#M7487</link>
      <description>&lt;P&gt;Thanks, while I have not tried it yet, I'm 99% sure that is what I missed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 10:45:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Set-Pipeline-Return-Code-using-Dynamic-Content/m-p/4648478#M7487</guid>
      <dc:creator>ToddChitt</dc:creator>
      <dc:date>2025-04-11T10:45:54Z</dc:date>
    </item>
  </channel>
</rss>

