Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Convert part of the workflow to macros

tww
8 - Asteroid

Hi all,

 

Please refer to the workflow attached. I would like to convert workflows under Container 11 and 14 as 2 separate macros so that they could be reused in other workflows. I have not use macros before. Could someone show me how to achieve that?

 

Thank you

 

Tzuwen

2 REPLIES 2
DavidSkaife
13 - Pulsar

Hi @tww 

 

simply copy the tools over to a new canvas, and add in a Macro Input and Macro Output tool at the start/end

 

Capture.PNG

Ignore the error that the Macro Input gives, and in the settings for that tool untick Show Field Map.

 

Save it and then insert the macro into your workflow, connect up to input and output and it should work for you

 

Capture.PNG

CoG
14 - Magnetar

Here is a sample for Container 11:

Screenshot.png

You just need to create a new workflow, and add the Macro Input Tool & Macro Output Tools. When you save the file, it will automatically save as a Standard Macro and can then be added to your main workflow.

Labels
Top Solution Authors