Alteryx Designer Desktop Discussions

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

Ignoring Missing Data Connection for Union Tool

umairmesiya1
5 - Atom

Hi All!

 

I am building a workflow that takes 3 different types of excel sheets and does a union on their data. I want to make it so that if any of the sheets is missing, it should still run. 

 

Currently, if any one of the input files is missing, my workflow outputs and error, and doesn't union the other two files.

 

Is there a way around this?

 

Thanks!

 

11 REPLIES 11
ivoller
12 - Quasar
umairmesiya1
5 - Atom

Thanks for the link!

 

However, this works if i have a file that has zero rows. In my case, sometimes the Input tool doesn't have a file at all and causes my Union tool to fail, stopping the rest of the workflow.

ivoller
12 - Quasar

Perhaps a macro that uses Directory Tool input to check for the existence of files prior to passing to a Dynamic Input tool is the way to go.

kcgreen
8 - Asteroid

I'm stuck on the same problem.   I've attached a sample workflow in case anybody has an easy trick to solve it.

 

Capture.PNG

dkchandana3
7 - Meteor

I am encountering a similar problem. Were you able to fix in your case?

kcgreen
8 - Asteroid

@dkchandana3:  Nope.  I have to delete a connection or two on the days when an input file isn't available.  

AdamR_AYX
Alteryx Alumni (Retired)

I think the attached is the trick you need

 

MissingFile.PNG

The dynamic input will not error if it receives no data.

Adam Riley
https://www.linkedin.com/in/adriley/
maxwarburg
5 - Atom

Hi, 

 

I have a workflow identical to this but instead its three connectors pulling from the JIRA API.  For pagination I need multiple connectors but if the number of tickets decreases and one of the connectors cant pull any tickets, I hit this same problem with the union too but without being able to resort to checking directories or any of the other solutions above.  Any ideas?

martinoreb
6 - Meteoroid

Hi Adam,

 

In your example, it appears that you do have data running through the dynamic input..  How do you get the union tool to work with no data (no file)?

 

Rebekah Martino

Labels