Hello,
I have developed macros on Alteryx and some of them are nested. One macro calls another macro, and so on.
I am creating a workflow that uses one of these macros.
When I try to publish my workflow on the Alteryx Server, I can include the first level of macros using the "Workflow Assets" option. But my workflow does not include the lower-level macros.
Is there a solution to package the workflow with all the macros?
Thank you for your help.
I have a not very clean solution: I add a container with all the macros I need to my workflow. I disable it. When I publish my workflow, I can integrate them all as dependencies.
Hi @Uhrond ,
One option is to follow this tutorial here to identify all the nested macros: https://knowledge.alteryx.com/index/s/article/Attaching-additional-files-to-a-workflow-package-yxzp-...
The second option is my suggested approach, which is to create a shared repository of macros that both developers and Alteryx Server have access to. https://help.alteryx.com/current/en/designer/apps-and-macros/macros.html#idp318231
Best,
Fernando Vizcaino
you sub-macros are probably published to your default macro directory. Alteryx does not view macros in your default macro directory (usually Macros) as workflow dependecies. If your sub macros are in the same location as the rest of your workflow - Alteryx should recognize them as Workfow Dependencies when creating a .yxzp/publishing to Server.