Alteryx Designer Version 2019.4.8.22007
Alteryx Server Version 2019.4
Purpose
I needed to create a workflow that would dynamically update an In-DB WHERE clause depending on the date the workflow was run (Not included in example screenshots). This was achieved using a text input tool that contains two fields 1) the Connection String and 2) the Query string. These are fed into the Dynamic Input In-DB Tool which queries an Oracle database.

The results of that query are to be In-DB Unioned with Data Streamed In-DB that have the same columns and data types.

Both the Dynamic Input In-DB Tool and the In-DB Data Stream In connections are both done by a File Connection Type.

When that file path is used in the connection name fields for both tools in Designer, the In-DB Union tool does not throw an error.

Problem
However, when publishing to Gallery, the connection file is packaged into the workflow as an external file (i.e. "File:_externals\1\IN-DBConnect.indbc"). Trying to run the workflow in Gallery without also updating the Text Input Connection (which is still a path to the file on a local drive) will cause a predictable failure.

So the text input tool needs to be adjusted to the new packaged connection file location:

This now matches the connection name for the other tools (e.g. Data Stream In Tool) in the workflow after it has been saved to Gallery:

It is use of the packaged file that is necessary for Gallery, that appears to be causing the In-DB Union tool to Error: "Union In-DB: All inputs must have the same In-DB connection".

The packaged file also causes failure in Designer, but I can get the workflow to execute if I revert the connections back to the file path on my local machine.


I have verified that the workflow packaged external connection files are still connecting to the database by using the Browse In-DB tools. Both the Data Stream In and the Dynamic Input In-DB tools are successfully connecting to the Oracle Database and returning the expected values; but when it comes time to In-DB Union that data, their shared connection is not recognized as the same by the In-DB Union tool.

Does anyone have any advice on this? Is the In-DB Union tool a known problem in Designer/Gallery?