Alteryx Designer Desktop Discussions

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

run the remaining workflow even if the input files are missing from some macro

sneha_bhiwagade1
8 - Asteroid

Hi All,

 

I am having 3 different input folders. example A, B, C

having three different macros to read the input files from three folders A, B, C.

 

In each macro I am using directory tool to read input files.

 

And the output of each three macros is merged and then generates a final output file.

 

but the scenario is that when files are missing in C folder still workflow should generate a final output file without any error.

 

Many Thanks in advance!!

1 REPLY 1
Avis682Holmes
5 - Atom

Hello!

To handle missing files in folder C without errors, check for the presence of files in C before running the macro. If no files are found, create a dummy output for starbuckssecretmenus consistency. Merge the outputs from folders A, B, and the conditional output from C to generate the final output file. This ensures the workflow continues smoothly even if folder C is empty.

 

Labels
Top Solution Authors