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?
How can I alter my script so the data goes through no matter if this option is selected or not?
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.
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