Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Union Tool Errors

sufregs
7 - Meteor

See below snapshot of workflow

I have a Union tool that is fed from multiple other union tools. The upstream union tools are fed from the outputs of different containers. When i disable a container, so that it does not run, the downstream union tools throws an error Union (528): Missing Incoming Connection. I tried back tracing and discovered that None of the upstream Union tools are giving an output even though they all have text inputs with data (string) connected to them. 
I have tried using the Detour and Detour end tools so I do not have to disable the containers, but the tools (select, formula, etc.) also throw errors because they expect an input. Is there a way around this?

 

 

sufregs_0-1753733625103.png

 

12 REPLIES 12
jrlindem
11 - Bolide

Yes, that makes sense that you're getting those errors.  Speaking of containers, if you're on 2023+ then you could try using a control container to conditionally route when the upstream data is on/off.  This is something I explored at length with detour/end tools, but they just can't handle the dynamic nature of what you're looking for.

 

Otherwise, you simply need to feed replacement or "test" data into the unions when you have parts of the production workflow turned off to ensure there are incoming feeds.

jrgo
14 - Magnetar

Hi @sufregs 

 

I haven't played around too much with control containers but it does seem like that you may have stubbled across a bug. I mocked up a quick test where the top set of tools are using control containers and the bottom using normal containers. When an upstream connection to the Union tool is in a disabled container, when it's a control container, it still keeps the upstream dependencies, but not an issue with the standard containers.

 

I would suggest reporting your problem to Alteryx Support.

 

jrgo_0-1753737062194.png

 

sufregs
7 - Meteor

How do I conditionally route using control containers or feed test input? With the latter, I suppose I could use an append or another union tool in which case may still throw same errors?

jrgo
14 - Magnetar

I can't really say without more details on what your workflow is doing and where you're disabling containers for testing.

 

Even sharing your workflow without any data can help greatly and allow us to provide a more educated recommendation or solution. Screenshots are helpful, but when you have a logic type of issue, seeing code is more helpful.

sufregs
7 - Meteor

.

sufregs
7 - Meteor

See attached. The Control CXP FY container is to be disabled. I initially had the "Prom Cr&D Final output" in a control container but removed it so that the Union tool would stop throwing incoming connection error. This worked; however it is still not giving out an output; neither are the union tools upstream.

The output of the detour end was originally connected to the control container with final output but since I deleted that, I connected it directly to the Union tool here.

 

jrlindem
11 - Bolide

@sufregs  Thank you for attaching your workflow.  Looks like a fun one!

 

I played around with containers and unions and couldn’t replicate what you were experiencing.  In my attached file ‘2025-07  Union Tool (proof).yxmd’ you can see that I’ve set up a small example of unions feeding unions; all within containers or control containers.  Regardless of what I turn on/off, it appears that each union is okay with missing information (this is expected, despite my first message).

 

In my second file ‘2025-07  Union Tool Errors.yxmd’, I broke off just a piece of your workflow to check the behavior of your unions and none of them threw errors.

 

This leads me to believe that there’s something else in your workflow that’s causing the problem and not necessarily the Unions themselves.

 

I would recommend making a copy of your existing workflow and removing out pieces a chunk at a time and seeing if you can isolate exactly where it’s failing, but missing upstream data to a union appears to be completely okay.

 

I would also double check your Union configuration to ensure that you are not forcing errors to be thrown when, for example, fields differ from one input stream to another.

 

jrlindem_0-1753794663493.png

 

 

Unfortunately, due to what your workflow is doing, I don’t think it’s going to be possible to run yours as you are to debug.

 

Hope that helps and best of luck on this issue!

 

-Jay

jrgo
14 - Magnetar

Hi @sufregs 

 

Thanks for sharing.

 

First thing that popped up when i opened were errors indicating that the workflow is not AMP enabled. Control Containers (CC) are only compatible with the AMP engine from my understanding. I opened on 2025.1 and noticed you're on 2024.2 so if you're not seeing that same message, could be something that Alteryx didn't add until after your version, maybe??

jrgo_0-1753795715445.png

 

 

Other than that, here's my observations:

  1. Is the Output in "Control TB USD" the input for "Control Prom Cr&D Table B Output"? If so, why not just connect them directly (you can still have the output if used elsewhere) and remove connection between these 2 CC's and, ultimately, convert them to standard containers (SC).
  2. Your use of the detour tools against CC's won't work... from doing a quick test, they're just not compatible with them and don't perform the intended action expected from the detour. Plus if your detour end has both input sides connected, it expects that both outputs of the detour start are also utilized and interconnected.
  3. For CC "Control CXP FY", you can probably replace this with a SC since there doesn't seem to be an upstream dependencies from what I can tell, but being that you scrubbed out the file names from your inputs and outputs, I could be wrong. If they are though, same thing as what I suggested in #1, connect them directly to create the dependency and control automatically.

Overall though, i think the reason why your not getting any outputs is because you don't have the AMP engine enabled. Try turning it on and see if that resolves that problem at least and then you can refine your use of CC and SC's more appropriately.

 

I hope this helps!

-Jimmy

apathetichell
20 - Arcturus

@jrgo is completely correct about control containers and amp.

 

@sufregs for your core problem --- you should use my strategy to mandate downstream schema. Here is what you do.

1) create a text input tool.

a) add your mandatory column names --- do not add any rows.

2) prior to your union tool --- but exiting your control container -- union the new text input tool with your data.

3) now add that union --- which makes sure that the column names exist to your other union.

 

Note --- this should not happen and union should be agnostic with naming but Amp sometimes throws the wrong error --- ie union is not the problem but something downstream is. Also control containers are a less perfect product than the old deactivated/reactivated container in a macro toggle. They do have schema cashing issues.

Labels
Top Solution Authors