<?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 Ignore ODBC Data Input Errors within Union in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432278#M81067</link>
    <description>&lt;P&gt;I have a workflow with many inputs from ODBC sources, and sometimes one (or more) fails. All of these data inputs are consolidated via a Union, but any errors result in the Union failing because no metadata is received from the stream(s) with errors. I do want the workflow to proceed even if one of the inputs has an error. Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar, but different since my first tool is a data input vs. a directory search (which is designed to handle files that don't exist, not connection problems).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Ignoring-Missing-Data-Connection-for-Union-Tool/td-p/147943" target="_blank" rel="noopener"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Ignoring-Missing-Data-Connection-for-Union-Tool/td-p/147943&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few things i've tried without luck (but hopefully might help get you thinking!)&lt;/P&gt;&lt;P&gt;- Adding a select after each input with the metadata configured,&lt;/P&gt;&lt;P&gt;- Adding a filter after each input which excludes null rows.&lt;/P&gt;&lt;P&gt;- Adding a generate row after each input to add a garbage row.&lt;/P&gt;&lt;P&gt;- Adding a macro after each input with the input optional.&lt;/P&gt;&lt;P&gt;- Adding a dynamic input after each input (there may be some way to accomplish this based on the above solution, but I couldn't figure it out)&lt;/P&gt;&lt;P&gt;- Configured the input tool SQL query with a union to a static value row, but fails since one part of the SQL-based union fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 03:46:25 GMT</pubDate>
    <dc:creator>Csand</dc:creator>
    <dc:date>2019-06-27T03:46:25Z</dc:date>
    <item>
      <title>Ignore ODBC Data Input Errors within Union</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432278#M81067</link>
      <description>&lt;P&gt;I have a workflow with many inputs from ODBC sources, and sometimes one (or more) fails. All of these data inputs are consolidated via a Union, but any errors result in the Union failing because no metadata is received from the stream(s) with errors. I do want the workflow to proceed even if one of the inputs has an error. Does anyone have a solution for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar, but different since my first tool is a data input vs. a directory search (which is designed to handle files that don't exist, not connection problems).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Ignoring-Missing-Data-Connection-for-Union-Tool/td-p/147943" target="_blank" rel="noopener"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Ignoring-Missing-Data-Connection-for-Union-Tool/td-p/147943&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few things i've tried without luck (but hopefully might help get you thinking!)&lt;/P&gt;&lt;P&gt;- Adding a select after each input with the metadata configured,&lt;/P&gt;&lt;P&gt;- Adding a filter after each input which excludes null rows.&lt;/P&gt;&lt;P&gt;- Adding a generate row after each input to add a garbage row.&lt;/P&gt;&lt;P&gt;- Adding a macro after each input with the input optional.&lt;/P&gt;&lt;P&gt;- Adding a dynamic input after each input (there may be some way to accomplish this based on the above solution, but I couldn't figure it out)&lt;/P&gt;&lt;P&gt;- Configured the input tool SQL query with a union to a static value row, but fails since one part of the SQL-based union fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 03:46:25 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432278#M81067</guid>
      <dc:creator>Csand</dc:creator>
      <dc:date>2019-06-27T03:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore ODBC Data Input Errors within Union</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432353#M81097</link>
      <description>&lt;P&gt;This made me think a little!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inherently Alteryx is going to treat a connection error to a database as an issue, as it's your input that's gone wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I have done is created a batch macro that enables you to put in the Select statement, and if I create a select statement of "gibberish" it still returns the other rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the batch macro idea should work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached mine, but you may need to modify it further for your needs.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 10:35:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432353#M81097</guid>
      <dc:creator>JoeS</dc:creator>
      <dc:date>2019-06-27T10:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore ODBC Data Input Errors within Union</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432433#M81120</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/11703"&gt;@JoeS&lt;/a&gt;&amp;nbsp;. The solution didn't perfectly capture it, since I am using different databases rather than different queries. However, the solution was still the same since I just had to send the databases to the batch macro rather than the queries. I'm including my final example below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Note that this assumes you are using Windows authentication for MSSQL databases. If you want to use this for non-integrated authentication, you can either send the passwords to the batch macro or use a common password that is hashed by Alteryx in the input tool (so doesn't need to be sent to the batch macro).&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="WF.PNG" style="width: 945px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/67592i9B54CB130E299824/image-size/large?v=v2&amp;amp;px=999" role="button" title="WF.PNG" alt="WF.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BatchMacro.PNG" style="width: 927px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/67593iCB086A22CA20F5D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="BatchMacro.PNG" alt="BatchMacro.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:59:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432433#M81120</guid>
      <dc:creator>Csand</dc:creator>
      <dc:date>2019-06-27T12:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore ODBC Data Input Errors within Union</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432448#M81125</link>
      <description>&lt;P&gt;Great stuff, I wasn't quite sure what element you needed to switch around and guessed the wrong one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad you managed to alter it and it's working for you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:24:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Ignore-ODBC-Data-Input-Errors-within-Union/m-p/432448#M81125</guid>
      <dc:creator>JoeS</dc:creator>
      <dc:date>2019-06-27T13:24:41Z</dc:date>
    </item>
  </channel>
</rss>

