Alteryx Designer Discussions

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

Export workflow containing nested macro

8 - Asteroid

I have a Workflow A containing batch macro B, and B contains another macro C.

from Workflow A, if I export, it will only export macro B and then the flow will be broken

how can I solve that?

Alteryx Certified Partner
Alteryx Certified Partner

Hi @hungdm,


have you tried creating a Workflow Group?







8 - Asteroid

not working 😞 


Alteryx Certified Partner
Alteryx Certified Partner

Oh sorry, I mixed something up.


Go to Options -> Export Worklow.




This will create an yxzp-file with everything in it.


This is the dialog if someone opens it:











8 - Asteroid


I tried that but it did not work out.

The flow A will only export Macro B and it will not export the nested macro C

Alteryx Certified Partner
Alteryx Certified Partner

Can you DM your files to reproduce the case?


It worked fine with my nested macros.

17 - Castor
17 - Castor

Hi @hungdm 


You can add any assets you like to a workflow, including nested macros if you follow these steps


1. in your User settings check Display Asset Management in Properties Window


This puts a small package icon in the config window of most tools

assets icon.png

2 Click this and add the assets that you need


When working with nested macros you'll have an additional step.  At each level of nesting add any macros that are included below it.  


- TopLevel.yxmd (inlcudes Macro.yxmc automatically)

   - Macro.yxmc (add Nested.yxmc as asset)

      - Nested.yxmc (add 2ndLevelNestedMacro.yxmc as asset)




8 - Asteroid


Thanks, Dan!

it works!