<?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: wild card (*) not working on delete activity in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4112344#M5083</link>
    <description>&lt;P&gt;Thank you for the response, that is exactly what the ms acticle says, but when i try it, it is not what it does. What am I missing ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 02:22:00 GMT</pubDate>
    <dc:creator>smeetsh</dc:creator>
    <dc:date>2024-08-22T02:22:00Z</dc:date>
    <item>
      <title>wild card (*) not working on delete activity</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4110366#M5052</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create json files through a api, which get overwritten everytime time the pipeline runs. There is a very minute chance that one day a json file&amp;nbsp; may not be overwritten since we have gotten rid of the object and are no longer interested in its history (it will be rare but possible.&lt;BR /&gt;&lt;BR /&gt;I thought ..easy Ill insert a delete activity, but I can't seem to get the wildcard fucntionality to work (I am prolly being a dumbass here). I followed this link from MS and wildcards should work, and I have used&amp;nbsp; them to ingest data in a similar way&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/delete-data-activity" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/delete-data-activity&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The activity step is super simple,&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;If I take the wildcard out and leave filename blank, it will delete all files in the subfolder, which could work, though I would like to build in some more finesse, incorporating it in a loop and target filenames more selectively.&lt;BR /&gt;&lt;BR /&gt;What am I missing here?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Hans&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 04:36:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4110366#M5052</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2024-08-21T04:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: wild card (*) not working on delete activity</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4112341#M5082</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718450" data-lia-user-login="smeetsh" class="lia-mention lia-mention-user"&gt;smeetsh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In data factory, allowed wild cards are *(matches zero or more characters) and ?(matches zero or single character). you can use ^ to escape if your file name has a wildcard or this escape character inside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pass output array of filtered file names from Azure functions to ForEach activity to loop each file name and use delete activity inside ForEach activity to dynamically point to the file in the iteration and delete it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use Azure Functions activity to run Azure function in data factory. You can also look at this document:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/data-factory/connector-azure-blob-storage?tabs=data-factory#folder-and-file-filter-examples" target="_blank"&gt;Copy and transform data in Azure Blob Storage - Azure Data Factory &amp;amp; Azure Synapse | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 02:17:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4112341#M5082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-22T02:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: wild card (*) not working on delete activity</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4112344#M5083</link>
      <description>&lt;P&gt;Thank you for the response, that is exactly what the ms acticle says, but when i try it, it is not what it does. What am I missing ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 02:22:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/wild-card-not-working-on-delete-activity/m-p/4112344#M5083</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2024-08-22T02:22:00Z</dc:date>
    </item>
  </channel>
</rss>

