<?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: Resetting a string pipeline variable in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923082#M9028</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You’re right that a dedicated reset function would be cleaner, but currently Fabric/ADF pipelines don’t support user-defined functions or setting variables to 'null'.&lt;/LI&gt;
&lt;LI&gt;The supported and recommended approach is to explicitly overwrite the variable with an empty string:&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Set Variable activity → value set to ' ' (empty string)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Internally this is treated as a reset state, even though the run output may show "\n" due to UI serialization.&lt;/LI&gt;
&lt;LI&gt;For cleaner design, a common pattern is to encapsulate all variable resets inside a small reusable pipeline (called via Execute Pipeline), which effectively acts as a “reset function” while staying within supported features.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 05:51:35 GMT</pubDate>
    <dc:creator>v-sshirivolu</dc:creator>
    <dc:date>2026-01-22T05:51:35Z</dc:date>
    <item>
      <title>Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920547#M8999</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;inside a my pipeline I've implemented some set variable activities that operate on strings. In particular I'd like to reset the value of a string pipeline variable as a blank value.&lt;/P&gt;&lt;P&gt;Is the correct method to use&lt;/P&gt;&lt;LI-CODE lang="python"&gt;@''&lt;/LI-CODE&gt;&lt;P&gt;as a dynamic content?&lt;/P&gt;&lt;P&gt;It doesn't exist any specific espression function.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 07:42:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920547#M8999</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2026-01-19T07:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920668#M9001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Microsoft Fabric Data Factory, string pipeline variables cannot be set to null, and there is no specific function to clear or reset a string value. Since variables are strongly typed, the only way to reset a string variable is to assign it an empty string. You can do this in a Set variable activity by entering an empty string literal ('' or "") as dynamic content. This method is intentional and is the recommended way to represent a blank string value in Fabric pipelines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 09:54:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920668#M9001</guid>
      <dc:creator>v-sshirivolu</dc:creator>
      <dc:date>2026-01-19T09:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920733#M9002</link>
      <description>&lt;P&gt;Hi, thanks for your reply.&lt;BR /&gt;Therefore I need to write&lt;/P&gt;&lt;LI-CODE lang="python"&gt;('')&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="python"&gt;("")&lt;/LI-CODE&gt;&lt;P&gt;as a dynamic content, isn't it?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 11:13:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4920733#M9002</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2026-01-19T11:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4921692#M9014</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, that’s correct. Use an empty string ('' or "") in the Set variable activity to reset the string variable.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 10:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4921692#M9014</guid>
      <dc:creator>v-sshirivolu</dc:creator>
      <dc:date>2026-01-20T10:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4922027#M9018</link>
      <description>&lt;P&gt;Ok, thanks but I think that it could be more cleaner to have a specific function.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 17:23:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4922027#M9018</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2026-01-20T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923082#M9028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You’re right that a dedicated reset function would be cleaner, but currently Fabric/ADF pipelines don’t support user-defined functions or setting variables to 'null'.&lt;/LI&gt;
&lt;LI&gt;The supported and recommended approach is to explicitly overwrite the variable with an empty string:&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Set Variable activity → value set to ' ' (empty string)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Internally this is treated as a reset state, even though the run output may show "\n" due to UI serialization.&lt;/LI&gt;
&lt;LI&gt;For cleaner design, a common pattern is to encapsulate all variable resets inside a small reusable pipeline (called via Execute Pipeline), which effectively acts as a “reset function” while staying within supported features.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 05:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923082#M9028</guid>
      <dc:creator>v-sshirivolu</dc:creator>
      <dc:date>2026-01-22T05:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923185#M9029</link>
      <description>&lt;P&gt;Ok, but I need to reset a string variable with a blank or empty string, not with a null.&lt;/P&gt;&lt;P&gt;About implementing a reusable pipeline to reset variables it should be called inside a main pipeline that has these variables, but the variables aren't global ones or you think to use pipeline return values, isn't it? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 08:18:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923185#M9029</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2026-01-22T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923307#M9030</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, the reset is to a blank/empty string, not null. In Fabric/ADF pipelines, setting a string variable to '' is the only supported way to clear it, even though the run output may show "\n" due to UI serialization, it’s still treated as empty in expressions. Pipeline variables aren’t global, so a reusable child pipeline can’t directly reset variables in the parent unless pipeline return values are used and then assigned back in the main pipeline. Otherwise, explicitly using Set variable - '' in the main pipeline remains the simplest and cleanest supported approach.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 09:42:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4923307#M9030</guid>
      <dc:creator>v-sshirivolu</dc:creator>
      <dc:date>2026-01-22T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Resetting a string pipeline variable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4927848#M9040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 06:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Resetting-a-string-pipeline-variable/m-p/4927848#M9040</guid>
      <dc:creator>v-sshirivolu</dc:creator>
      <dc:date>2026-01-27T06:50:08Z</dc:date>
    </item>
  </channel>
</rss>

