Free Trial

Alteryx Designer Desktop Discussions

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

trying to collapse container but getting error the Target stream not properly initialized,

wonka1234
10 - Fireball

Hi,

 

I am trying to collapse my container but i think it is not allowing the data to pass through and thus i am getting error " Target stream not properly initialized,"

 

How can I alter my collapse tool to allow the data to pass through no matter what?

 

wonka1234_2-1679067722557.png

 

 

 

wonka1234_0-1679067699450.pngwonka1234_1-1679067708941.png

 

 

wonka1234_3-1679067768066.pngwonka1234_4-1679067781979.png

 

 

How can I alter my script so the data goes through no matter if this option is selected or not?

 

1 REPLY 1
danilang
19 - Altair
19 - Altair

Hi @wonka1234 

 

One of the problems here is that when you collapse the container, no data flows through it causing all down stream tools to error.  You can get around this by making sure there is always a data path.   

 

danilang_0-1679145768277.png

 

This workflow has two containers and the corresponding Action tools are configured to ensure that only one of them is open.  The inputs to a union tool can be empty so this configuration ensures that no matter which container is enabled the data flows to the downstream tools.  The Select tool in the No AutoWash container is just there to give the container something to collapse.  It's configured to just pass all fields as-is.  The formula tools in each container are there to demonstrate which path the data flows through.

 

I think this is what is causing error.  If it still occurs after you implement the data pass through, post the error in your results window and the config of the tools that caused the error

 

Dan 

 

Labels
Top Solution Authors