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

Alteryx Designer Desktop Discussions

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

Is it possible to make edits to an Alteryx toolbar macro?

Zakiser
5 - Atom

Tried a search for this, and haven't come up with anything. Hopefully I have posted this in the right place.

 

I have a workflow that splits the records using a filter tool. Sometimes there are records in both the T and F output anchors, but often all records flow through one or the other. The T anchor prompts me to only look at the first few records, while the F anchor takes a random sample for further analysis. My problem occurs when all records flow through the F anchor: When this occurs, the "select records" macro from the "preparation" section of the tool pane throws an error as there are no records for it to select.

 

The simplest solution would be to change the message tool within the macro to throw a warning instead of an error, but it seems editing is blocked, which makes total sense. My next step was to make a copy of the macro, rename it, and add it to the workflow to edit, and it is still blocked.

Short of rebuilding this macro from scratch, are there any other suggestions or tools I could implement that would help in this scenario?

4 REPLIES 4
neilgallen
12 - Quasar

If you right click on the tool, do you get the option to open the macro?

Zakiser
5 - Atom

Yes, I am able to open it successfully and can edit. I get the following error when attempting to save the updated macro.

neilgallen
12 - Quasar

you would need to save as a new macro into a new location and then make sure alteryx knows that file location by specifying the macro path "Edit User Settings -> Macros"

 

 

Zakiser
5 - Atom

I have found the answer! Thank you for walking through this with me. I wasn't sure exactly what you meant by specifying the macro path, but by moving a copy of the macro to a new location and using the "save as" feature, Alteryx allowed me to save the edited copy. The macro now throws a warning as opposed to an error and allows the workflow to continue processing.

Labels