Alteryx Designer Desktop Discussions

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

Batch Macro Working with Some Files but not all

aimeegoins
5 - Atom

Hello, 

 

My Batch Macro that was working fine suddenly stopped working and I cannot seem to determine the problem. 

 

This set of files are working fine. The filenames go into the macro and it spits out the data from the sheet. 

aimeegoins_0-1635527346448.png

aimeegoins_1-1635527412053.pngaimeegoins_2-1635527430250.png

 

Using the exact same Macro, the below set simply returns nothing. 

aimeegoins_3-1635527564627.pngaimeegoins_4-1635527615391.png

Macro details for reference. What am I missing?! Is there a way to see the details of the macro run? Sidenote, the two examples above are a part of the same workflow. I have some xlsm files and created a separate macro for those that is also returning nothing. I also thought it was because of the files mapped through SharePoint through my C drive, but I have another workflow also using this macro through sharepoint files working just fine. 

aimeegoins_5-1635527678270.pngaimeegoins_6-1635527710143.png

 

 

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @aimeegoins 

 

There is go to RunTime tab in the configuration window and check the option show macro messages. Refer below.

 

atcodedog05_0-1635528118363.png

 

Hope this helps : )

aimeegoins
5 - Atom

Thanks! So I did that and it looks like it's grabbing the files.. but there is data on them and it's giving me nothing. 

aimeegoins_0-1635529985887.png

When I select the file from here to try to open it I get this error:

aimeegoins_1-1635530058752.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @aimeegoins 

 

Check the warning messages

aimeegoins
5 - Atom

Only 2 warnings and don't seem relevant, they're at the end of the Workflow and the macros are early.

aimeegoins_0-1635864301954.png

 

AZuc
Alteryx
Alteryx

@aimeegoins , the most common mistake I commit on batch macros is when I replace a file inside the macro for some test and I forget to update the Action tool that changes the input data. See if it's not your case.

André Zuccatti

Sales Engineer - LATAM -
Alteryx, Inc.


aimeegoins
6 - Meteoroid

I've checked that as well and it is not the case.

 

I ran an interesting test this morning using one file that worked perfectly at first with no filter, then with a filter. However, when I switched the filter to a Text Input and Join it stopped working. It also caused the Filter portion to stop working. The filenames enter the macro and nothing comes out even though the messages say it is gathering the information. 

aimeegoins_0-1636382385272.png

When I try to open one of the links from the Batch notes I am getting the Unhandled Exception occurred error. 

Labels