Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Export workflow containing nested macro

hungdm
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?

7 REPLIES 7
grossal
15 - Aurora
15 - Aurora

Hi @hungdm,

 

have you tried creating a Workflow Group?

 

grossal_1-1584870988826.png

 

 

Regards

Alex

hungdm
8 - Asteroid

not working 😞 

@grossal 

grossal
15 - Aurora
15 - Aurora

Oh sorry, I mixed something up.

 

Go to Options -> Export Worklow.

 

grossal_0-1584874559653.png

 

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

 

This is the dialog if someone opens it:

 

grossal_1-1584874643959.png

 

grossal_2-1584874665587.png

 

 

 

 

Best

Alex

hungdm
8 - Asteroid

@grossal 

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

grossal
15 - Aurora
15 - Aurora

Can you DM your files to reproduce the case?

 

It worked fine with my nested macros.

danilang
19 - Altair
19 - Altair

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

assets.png

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)

         -2ndLevelNestedMacro.yxmc 

 

Dan

hungdm
8 - Asteroid

@danilang 

Thanks, Dan!

it works!

Labels