ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

"Cannot find macro" error

Frndly
7 - Meteor

I have an alteryx workflow saved on gallery. This workflow uses a CReW macro. I download the workflow, make some changes, save it - tool cannot find macro during validation. I check dependencies, macro is there. I check the folder in file explorer, macro is there. I check the assets, macro is there, selected for saving. 

 

How to fix this? The workflow errors witht the same "cannot find macro" in the gallery too. 

 

Note, it runs perfectly fine in local enviroment, so it downloads fully(including the macro!)

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @Frndly ,

 

Sometimes you can have these kinds of issues when you have a macro inside a macro situation. If that is your case, this tutorial will help to fix your issue. https://knowledge.alteryx.com/index/s/article/Troubleshooting-Asset-Selection-when-Packaging-Workflo...

 

You basically have to let Alteryx know that you have assets inside your macros as well.

 

asset management.png

Here is a simple example: Sometimes, when you save a workflow to the Gallery, Alteryx won't recognize the files inside a macro as assets and won't include them in your workflow package, only as paths. In those cases, Alteryx will try to access the path, look for the file and fail. If you check that box, the asset will also be uploaded to the Gallery.

 

When you open the workflow from the Gallery back in Designer, the workflow is able to access that local path again and your workflow runs successfully.

 

Hopefully, that will help you solve your issue. Let me know if that is your case.

 

Best,

Fernando

Frndly
7 - Meteor

That might be it, thank you! I'll post when I test this