<?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: Writing Multiple Tabs from different workstreams threads in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407325#M349028</link>
    <description>&lt;P&gt;Perfectly done!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 18:25:00 GMT</pubDate>
    <dc:creator>Gaurav_Dhama_</dc:creator>
    <dc:date>2025-08-11T18:25:00Z</dc:date>
    <item>
      <title>Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407310#M349024</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to output to an excel file with multiple tabs.&lt;/P&gt;&lt;P&gt;Each excel tab is saved from a different alteryx workstream thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this runs into a problem where each thread tries to write the same excel file simultaneously - and then Alteryx throws a "cannot open file" error because file is in use&lt;/P&gt;&lt;P&gt;Error: Output Data (93): Unable to Open archive for zipping: *Filename* Can't open file: *Filename*: The file exists. (80)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See workflow screenshot attached - second thread is trying to write the excel file the same time as first thread (different tab) and errors out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the block until done tool can usually be used (when tabs are being written from one thread)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; However, is there a way to do this with multiple threads? I put the block tool in my current workflow (doesn't work as expected) - but the idea is to write the top thread tab first, then the second thread, and so on&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Do I have to move the block until done tool early on in my workflow? Would like to avoid this as the beginning has two database pulls which I would like to happen simultaneously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlteryxWorkflowWriteTabs.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/409015i4DAF07199DE0F0E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlteryxWorkflowWriteTabs.png" alt="AlteryxWorkflowWriteTabs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to queue up these different "threads" to wait until the previous thread writes the excel tab, to start the next tab write at the writing step?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:38:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407310#M349024</guid>
      <dc:creator>terrence10</dc:creator>
      <dc:date>2025-08-11T17:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407313#M349026</link>
      <description>&lt;P&gt;1. Add a block until done just before the first output,&lt;/P&gt;
&lt;P&gt;2. add record count tool to the second anchor of block until done, append it to the second stream just before the second output.&lt;/P&gt;
&lt;P&gt;3. Add select tool and drop this appended new column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and you will have the outputs running one after another.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 17:42:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407313#M349026</guid>
      <dc:creator>Gaurav_Dhama_</dc:creator>
      <dc:date>2025-08-11T17:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407322#M349027</link>
      <description>&lt;P&gt;Very cool! Thank you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/326910"&gt;@Gaurav_Dhama_&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not the prettiest in the canvas, but a clever solution!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Adding a record count tool, then append the record count to the next thread, then dropping record count before writing! Very neat!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I've expanded it to all 4 streams - had to use a second block tool to get 4 outputs&lt;/P&gt;&lt;P&gt;Attached screenshot of what this looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlteryxWorkflowWriteTabsv2.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/409020iD15DF0025562F062/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlteryxWorkflowWriteTabsv2.png" alt="AlteryxWorkflowWriteTabsv2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 18:14:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407322#M349027</guid>
      <dc:creator>terrence10</dc:creator>
      <dc:date>2025-08-11T18:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407325#M349028</link>
      <description>&lt;P&gt;Perfectly done!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 18:25:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407325#M349028</guid>
      <dc:creator>Gaurav_Dhama_</dc:creator>
      <dc:date>2025-08-11T18:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407732#M349117</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/326910"&gt;@Gaurav_Dhama_&lt;/a&gt;&amp;nbsp; I do this very similarly but [Sample]'ing 1 Row and then removing all of the fields in the subsequent append.&amp;nbsp; I like yours better since it reduces the number of fields I need to deselect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, I have been able to acheive good success using Control Containers to, for example:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create the file (c.container 1)&lt;/LI&gt;&lt;LI&gt;Write to the first tab (c.container 2)&lt;/LI&gt;&lt;LI&gt;Write to the next tab, etc. (c.container2...3...4...etc.)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Great solution though,, thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 16:52:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1407732#M349117</guid>
      <dc:creator>jrlindem</dc:creator>
      <dc:date>2025-08-13T16:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409679#M349487</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/326910"&gt;@Gaurav_Dhama_&lt;/a&gt;&amp;nbsp;I have this set up but I still get the error "file is being used by another process". It seems to work fine till it gets to the directory tool. Any help in resolving this will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sufregs_0-1755896260623.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/409939i42BF458B3365794A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sufregs_0-1755896260623.png" alt="sufregs_0-1755896260623.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 21:00:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409679#M349487</guid>
      <dc:creator>sufregs</dc:creator>
      <dc:date>2025-08-22T21:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409688#M349492</link>
      <description>&lt;P&gt;By any chance you are reading the file that is being created?&lt;/P&gt;
&lt;P&gt;Can you also check if this file is being backed up by one drive?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2025 03:11:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409688#M349492</guid>
      <dc:creator>Gaurav_Dhama_</dc:creator>
      <dc:date>2025-08-23T03:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409838#M349518</link>
      <description>&lt;P&gt;No. The files I'm reading isn't being created in this workflow.&lt;/P&gt;&lt;P&gt;I don't quite underdtand when you ask if it is being backed up OneDrive. I am connecting to the files on SharePoint via my OneDrive. This is the same way the other files are being connected as well.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 13:48:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409838#M349518</guid>
      <dc:creator>sufregs</dc:creator>
      <dc:date>2025-08-24T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Writing Multiple Tabs from different workstreams threads</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409861#M349521</link>
      <description>&lt;P&gt;So many times i have faced an issue where the moment alteryx writes an output to one-drive on local system that starts backing it up on server. Making the file unavailable.&lt;/P&gt;
&lt;P&gt;You can give it a shot, but outputting this data to a temp location and see if you still get the same error.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Aug 2025 18:00:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Writing-Multiple-Tabs-from-different-workstreams-threads/m-p/1409861#M349521</guid>
      <dc:creator>Gaurav_Dhama_</dc:creator>
      <dc:date>2025-08-24T18:00:18Z</dc:date>
    </item>
  </channel>
</rss>

