Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Alteryx is here to help you solve your biggest data challenges. Read about the new Virtual Solution Center here.
SOLVED

Export workflow containing nested macro

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

Highlighted
11 - Bolide

Hi @hungdm,

 

have you tried creating a Workflow Group?

 

grossal_1-1584870988826.png

 

 

Regards

Alex

Highlighted
8 - Asteroid

not working  

@grossal 

Highlighted
11 - Bolide

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

Highlighted
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

Highlighted
11 - Bolide

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

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

Highlighted
8 - Asteroid

@danilang 

Thanks, Dan!

it works!

Labels