<?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: Alteryx Union With Dynamically Switchable Control Containers in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380200#M342128</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/662658"&gt;@bmillar777&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/685281"&gt;@adighe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;There are some issues that need to be confirmed first:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;1- Do all your test*.pdf files exist?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;2- Do all your PDF file paths have access permissions and are they set correctly?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;3- Do all your PDF to Text tools have normal output? (The output here means at least an output header, or a standard header and data record, not nothing.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If the answers to the above three questions are all yes, then under normal circumstances, the error in your screenshot will not appear. At the same time, the most likely problem is problem 3. For some reason, the PDF to Text tool will not output anything, so the Union tool will report an error due to the lack of metadata for one or more incoming connections.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;**************&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Solution:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;1- You need to modify the existing workflow, add an Output tool after each of the three PDF to Text tools, and output each data to the file format you specify. Remember that the three output files should be placed in the same folder.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;2- If the data structure of the three files is exactly the same, you can use the wildcard option of the Input tool or the Dynamic Input tool to Union all the data, so that the above error will not appear and affect your work.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;3- If the data structures of the three files are not exactly the same, you may need to use a batch macro to complete the above Union operation. There are too many such macros in the Gallery, you can download them directly and use them.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;4- You can also use 1 Control Contain to control the order of the above two steps relative to the three PDF to Text tools, which should be a very easy thing for you.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That's all, I wish you good luck!&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 06:18:12 GMT</pubDate>
    <dc:creator>flying008</dc:creator>
    <dc:date>2025-03-26T06:18:12Z</dc:date>
    <item>
      <title>Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1375914#M340940</link>
      <description>&lt;P&gt;Hi everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a question that's been bothering me for a while and I haven't been able to find a solution to. I've included a screenshot with a simplified example of the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It relates to a scenario where I have a set of PDF reads to do and have to dynamically come up with a solution to determine which ones. This works well using the Filter tool to turn containers on and off and if all processing is done inside each control container, all is fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I need to combine the results outside the control containers, the Union tool fails with the "No incoming metadata from one or more upstream tools". I've tried various solutions to resolve this issue with no luck. Limiting the number of PDF reads is critical for my use case as one of my routines is already taking over 2 minutes to complete, unacceptably long.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have any ideas on how I can resolve this?&amp;nbsp;&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;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-05 110937.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/400439i6E8EE3FDE444F231/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-05 110937.png" alt="Screenshot 2025-03-05 110937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 11:32:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1375914#M340940</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-03-05T11:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1376154#M341013</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-05 223801.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/400512i274DD28A5AB6EBB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-03-05 223801.png" alt="Screenshot 2025-03-05 223801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the configuration to Ignore - Continue Processing Records&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 03:38:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1376154#M341013</guid>
      <dc:creator>Warcry</dc:creator>
      <dc:date>2025-03-06T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1376225#M341043</link>
      <description>&lt;P&gt;Unfortunately, that didn't resolve the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried to set "Auto Config by Position" and even to "Manually Configure Fields" and enabled the non-blocking option, but nothing from this angle seems to resolve it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 09:11:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1376225#M341043</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-03-06T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379860#M342069</link>
      <description>&lt;P&gt;I have the exact same issue. Have tried all the options for the union tool. Amp on and off did not make a difference. Any clue as to what different approach to take in such situations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not all streams will have data. There are only two fields coming into the union tool with same names and datatype and size. I have set it to "Auto Config by name"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Union (458): No incoming metadata from one or more upstream tools. Check the input data and run the workflow again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 17:59:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379860#M342069</guid>
      <dc:creator>adighe</dc:creator>
      <dc:date>2025-03-24T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379982#M342087</link>
      <description>&lt;P&gt;I never found a solution in the end and maybe there isn't one. The closest I got was adding the Record ID tool to the Union inputs which removed the errors but didn't output any data :) It might be possible to use the Python tool to make it work, although I haven't had a proper go at that to see.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:38:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379982#M342087</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-03-25T10:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379986#M342089</link>
      <description>&lt;P&gt;Hi, I think the issue COULD be that it's due to having a split stream. Please see the attached screenshot/example which I believe should solve your problem by creating a single stream, although I'm not 100% sure as I don't have access to the Computer Vision tool set&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-25 110649.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401456iE7E9CC9070E422F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-25 110649.png" alt="Screenshot 2025-03-25 110649.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 11:09:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1379986#M342089</guid>
      <dc:creator>GMG0241</dc:creator>
      <dc:date>2025-03-25T11:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380200#M342128</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/662658"&gt;@bmillar777&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/685281"&gt;@adighe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;There are some issues that need to be confirmed first:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;1- Do all your test*.pdf files exist?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;2- Do all your PDF file paths have access permissions and are they set correctly?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;3- Do all your PDF to Text tools have normal output? (The output here means at least an output header, or a standard header and data record, not nothing.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;If the answers to the above three questions are all yes, then under normal circumstances, the error in your screenshot will not appear. At the same time, the most likely problem is problem 3. For some reason, the PDF to Text tool will not output anything, so the Union tool will report an error due to the lack of metadata for one or more incoming connections.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;**************&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Solution:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;1- You need to modify the existing workflow, add an Output tool after each of the three PDF to Text tools, and output each data to the file format you specify. Remember that the three output files should be placed in the same folder.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;2- If the data structure of the three files is exactly the same, you can use the wildcard option of the Input tool or the Dynamic Input tool to Union all the data, so that the above error will not appear and affect your work.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;3- If the data structures of the three files are not exactly the same, you may need to use a batch macro to complete the above Union operation. There are too many such macros in the Gallery, you can download them directly and use them.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;4- You can also use 1 Control Contain to control the order of the above two steps relative to the three PDF to Text tools, which should be a very easy thing for you.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;That's all, I wish you good luck!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 06:18:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380200#M342128</guid>
      <dc:creator>flying008</dc:creator>
      <dc:date>2025-03-26T06:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380323#M342159</link>
      <description>&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/311997" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;@flying008,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;In my case it's not files but the download tool with various DB or API calls that might not be executed. That causes errors before the flow reaches the join. The errors were hidden in control containers that collapse. But this causes the metadata to not reach the union.&amp;nbsp; I have to figure out how to pass metadata or dummy data through every path that reaches the join and then remove it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Union tool Error.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401544i25D253592127B6D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Union tool Error.png" alt="Union tool Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 14:08:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380323#M342159</guid>
      <dc:creator>adighe</dc:creator>
      <dc:date>2025-03-26T14:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380329#M342161</link>
      <description>&lt;P&gt;can you share a screen shot of the config of your union tool? union should not require a connection is initialized - but I've seen this be sticky. I think some things to try are:&lt;/P&gt;&lt;P&gt;1) delete the union - re add.&lt;/P&gt;&lt;P&gt;2) in the containers create a text input tool with a dummy column name and no data. union this in your container. run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the above is in standard Alteryx pre-control containers. It's possible that the control containers deploy is a bit 'special' -&amp;gt; if that's the case maybe throw things in a macros instead of control containers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;basically - what you are trying to do is resync the workflow cache.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 14:24:13 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380329#M342161</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-03-26T14:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380357#M342169</link>
      <description>&lt;P&gt;I have used all configs for the union tool with no luck, and current config is auto config by name. &lt;STRONG&gt;Adding the dummy data is what will work&lt;/STRONG&gt;. The downloads in red may or may not execute and that results in the formula/filter downstream to error due to missing variables. I added the missing dummy variables with a formula marked in &lt;STRONG&gt;green&lt;/STRONG&gt;. That took care of error in that stream. Any errors upstream with or without containers will prevent metadata to flow downstream and union does not like that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910" target="_blank"&gt;@apathetichell&lt;/A&gt;&amp;nbsp; adding text input is a better idea as its very obvious what the purpose is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Union Solution.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401551iBA1C054910BD8FCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Union Solution.png" alt="Union Solution.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Union Config.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401550iAB15A851DF6CF928/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Union Config.png" alt="Union Config.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 16:32:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380357#M342169</guid>
      <dc:creator>adighe</dc:creator>
      <dc:date>2025-03-26T16:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380397#M342181</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/685281"&gt;@adighe&lt;/a&gt;-&amp;nbsp;I use text input - and I'd actually use a field name which must be in the union tool (ie something from your parsed download tool data). It does not have to have rows -&amp;gt; it just needs a field name and it will populate into the union tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reiterating - old school this worked fine -&amp;gt; control containers may be 'unique'&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 17:49:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380397#M342181</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-03-26T17:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380409#M342184</link>
      <description>&lt;P&gt;Unfortunately, I don't think any of these solutions will resolve the original problem, I think I've tried them all already. Let me define the issue with bullet-points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* The original purpose was to read as few PDF's as possible. If the problem could be solved by reading PDF 1, then that's good. If not, then we need to read PDF 2, and then PDF 3 and so on. Containers are necessary for this problem as the PDF tools expect an input if they are not inside a disabled container.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* The screenshot I provided was a simple example I constructed to demonstrate the problem. The following is how things work depending on the situation:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) The three Filter tools turn the containers on and off automatically depending on the data in the Text Input tool. However, if we ignore those tools, the same problem still applies. The real issue is with the containers and the Union tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If we leave all the containers switched on, the workflow runs perfectly. However, if we disable even one, the workflow fails reporting that no "incoming metadata could be found from one of the upstream tools"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.1) It seems that having no input at all from a disabled container is a problem for the Union tool which generates the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.2) No setting changes in the Union tool change the issue, not even the non-blocking one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) The problem doesn't exist if all processing is done inside an individual container. For example, having three Union tools, one in each container doesn't generate any error. But then you can't rejoin the rest of the workflow to do further processing. In my use case, that's a problem as after reading one PDF, I need to exit into the workflow to determine the next PDF container to switch on before doing further processing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Using any kind of macro isn't a solution here for the same reason as the Union tool, you need to leave the container to exit the macro and that can't be done without error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think a possible solution is to use nested workflows. Then you could remain in the container, write an output and then read it in the next workflow etc. But it's a very complicated solution which I didn't try. Another possibility is to use nested control containers, but if you have ten PDF's to read, that's going to be very ugly :)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 18:19:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380409#M342184</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-03-26T18:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380467#M342189</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/662658"&gt;@bmillar777&lt;/a&gt;&amp;nbsp; - sorry was confusing the two tool sets - I think part of your problem is that the PDF tool you are using uses the Python tool. The Python tool wants to run - &amp;gt; even with no data.My hunch would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) disable all containers.&lt;/P&gt;&lt;P&gt;2) create a text input with whatever downstream schema you need.&lt;/P&gt;&lt;P&gt;3) run -&amp;gt; confirm that it does not error.&lt;/P&gt;&lt;P&gt;4) set up your containers to optionally RUN - not optionally NOT RUN. Re test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that does not work -&amp;gt; I'd try 1) putting each container in a separate macro.&lt;/P&gt;&lt;P&gt;2) going old school and using disabled standard containers vs control containers with them set to run with data (and their standard setting being disabled) - again in a (Batch) macro -&amp;gt; albeit you could use one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 23:33:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380467#M342189</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-03-26T23:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380495#M342194</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/662658"&gt;@bmillar777&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/685281"&gt;@adighe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;1- No matter you use PDF to Text tool or Download tool, they will cause no output for some reason. So the problem is not the control container, but the fact that as long as one of the incoming connections of the Union tool is an empty connection (no metadata is passed in by the upstream tool), an error message "incoming metadata could be found from one of the upstream tools" will be reported.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;2- So you need to analyze which step before the Union tool may have no metadata output, either create a text input with whatever downstream schema you need as &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910"&gt;@apathetichell&lt;/a&gt;&amp;nbsp; said, or use dynamic input to process the previous data later as I said above.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;3- In fact, there is another solution here, which is to use the Branch plug-in similar to Until ...to or If...then logic to implement the branch process. It does not require the use of the Control Contain tool, does not rely on the AMP mode, and does not require the use of multiple nested macros. But since your company may restrict the use of such 3rd external tools, we will not discuss it in detail.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 03:34:19 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380495#M342194</guid>
      <dc:creator>flying008</dc:creator>
      <dc:date>2025-03-27T03:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380559#M342207</link>
      <description>&lt;P&gt;Hi all, thanks for your replies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910"&gt;@apathetichell&lt;/a&gt;, I'm not sure what you mean by optionally RUN, I assume you mean disable the control containers and then enable them using the Filter tool. If that's what you mean, it doesn't unfortunately work as the Filter tool won't enable a disabled container.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/311997"&gt;@flying008&lt;/a&gt;, a control container is necessary for this procedure as the PDF tool needs an input if it's not disabled. So when it's disabled, it will always lead to an empty connection in the Union tool.&amp;nbsp;Adding a Text Input tool to add input doesn't work as any joins or unions will simply receive no input from the disabled PDF tool. It's a circular problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A dynamic input solution could work, it's not something I've tried to date. I don't think we can use third party tools, but this is something I've been wondering about lately and might ask the management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm actually no longer working on this problem so I don't need an answer to this question any more, I found the time delay in reading all PDF's for my implementation was not too prohibitive so I went with that. But it's an interesting case to face in Alteryx development.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:43:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380559#M342207</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-03-27T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380627#M342230</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/662658"&gt;@bmillar777&lt;/a&gt;- I just assumed I was a curmudgeon for hating on control containers - looks like the product has issues. So back to old school containers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) you'll need a batch macro.&lt;/P&gt;&lt;P&gt;2) you'll need an old school container in the macro (set it as disabled).&lt;/P&gt;&lt;P&gt;3) you'll turn your filter tool into a boolean.&lt;/P&gt;&lt;P&gt;4) you'll add a control parameter&lt;/P&gt;&lt;P&gt;5) you'll hook up an action tool -&amp;gt; it will feed from the control parameter to your container&lt;/P&gt;&lt;P&gt;6) - I prefer update value with formula here not enable/disable container.&lt;/P&gt;&lt;P&gt;7) you'll update the value which says disabed = true (or enabled=false or whatever it says)&amp;nbsp; using a formula like ![#1] or [#1] whichever you are using based upon your boolean logic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test this with one. If it works -&amp;gt; replicate to all of them (or build out the dynamic logic so one macro can process them all. That's your call. I am high 90s% sure that you can do this -&amp;gt; because I have done this. Albeit on like 2021.3 so who knows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd show you a sample but 1) I don't use that PDF tool 2) that is moot because I currently do not have an Alteryx license and do not use Alteryx at my 9-5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 16:03:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1380627#M342230</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-03-27T16:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381701#M342471</link>
      <description>&lt;P&gt;If I understand your meaning correctly, this is the kind of setup you mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, this does not work because if the container is turned off by the Boolean filter in the workflow, the workflow fails with "The output of the macro is not valid". If the container is turned on, it works fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-02 171336.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401903iD36520907F7260E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-02 171336.png" alt="Screenshot 2025-04-02 171336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-02 171350.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/401904i6C40D0635DA61141/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-04-02 171350.png" alt="Screenshot 2025-04-02 171350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 16:16:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381701#M342471</guid>
      <dc:creator>bmillar777</dc:creator>
      <dc:date>2025-04-02T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381706#M342472</link>
      <description>&lt;P&gt;disable the container. The container in the macro should start as disabled.&lt;/P&gt;&lt;P&gt;the action tool should enable the container when you want it to run (and should have required input fields.).&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 16:25:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381706#M342472</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-04-02T16:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381755#M342482</link>
      <description>&lt;P&gt;An alternative solution to this that doesn't require the use of any macros could be turning this into an analytic app, where the full path would have to be provided through a &lt;STRONG&gt;Text Box&lt;/STRONG&gt; or &lt;STRONG&gt;File Browse&lt;/STRONG&gt; tool from the &lt;STRONG&gt;Interface&lt;/STRONG&gt; category, then an &lt;STRONG&gt;Action&lt;/STRONG&gt; tool originating from the &lt;STRONG&gt;Interface&lt;/STRONG&gt; tool of choice would connect to the &lt;STRONG&gt;Text Input&lt;/STRONG&gt; tool to modify the full path provided, while another &lt;STRONG&gt;Action&lt;/STRONG&gt; tool that would also originate from the &lt;STRONG&gt;Interface&lt;/STRONG&gt; tool of choice would connect to the &lt;STRONG&gt;Union&lt;/STRONG&gt; tool to modify the &lt;STRONG&gt;raw XML&lt;/STRONG&gt; of the &lt;STRONG&gt;Union&lt;/STRONG&gt; tool. If the file names are standard and &lt;STRONG&gt;RegEx&lt;/STRONG&gt;able in terms of dynamically determining which container(s) would be disabled or enabled, then this information could be used to dynamically delete the incoming metadata line (#1, #2 or #3) and/or any other configuration lines from the &lt;STRONG&gt;Union&lt;/STRONG&gt; tool's &lt;STRONG&gt;raw XML&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are not familiar with the XML structure of the workflow, you can open the workflow file with Notepad or any other text editing program and/or enable displaying the XML of individual tools from &lt;STRONG&gt;User Settings&lt;/STRONG&gt; in Alteryx Designer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could prepare a sample workflow but I'm away from my computer right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only caveat with using this method would be to use the &lt;STRONG&gt;Debug Workflow&lt;/STRONG&gt; option provided in the &lt;STRONG&gt;Interface Designer&lt;/STRONG&gt; each time if you wish to see the progress directly for performance profile purposes.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:40:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381755#M342482</guid>
      <dc:creator>NeoInfiniTech</dc:creator>
      <dc:date>2025-04-02T19:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alteryx Union With Dynamically Switchable Control Containers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381763#M342483</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/44674"&gt;@NeoInfiniTech&lt;/a&gt;- I'm fairly sure (high 90's confidence) that this won't work for python tools.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 20:03:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-Union-With-Dynamically-Switchable-Control-Containers/m-p/1381763#M342483</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-04-02T20:03:15Z</dc:date>
    </item>
  </channel>
</rss>

