We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

List Box inside macro?

JP_Lehtinen
6 - Meteoroid

Hi,

I'm creating workflow where user must choose selection based of input data. 

I am using List Box node, Fields from Connected tool and Updating select tool with multi-select listbox.

 

This works fine. But I should make a macro about this, and I just can not manage to get this working so that outside macro selection of fields would flow inside macro.

 

Does somebody have been solved this kind of problem?

 

I'm using 

Alteryx Designer x64

Version:  2022.1.1.42691  Patch: 9

 

Best regards,

J-P Lehtinen

 

 

 

 

5 REPLIES 5
JP_Lehtinen
6 - Meteoroid

Thank you for those.
I'm creating analytic app, and if I put that wf inside macro, then create new wf that uses macro, and trying to use 'Run as an analytic app', it won't ask UI questions.
If I add List box selection in the wf, so that macro comes to place where select tool is, then macro gives an error that data won't flow.

So the problem is how to get UI data flow inside macro, where the main procedure is?

alexnajm
18 - Pollux
18 - Pollux

You need to add those interface tools to the asset that contains the macro - the macro needs to live inside of an app, not the other way around, if you want the UI questions to be asked!

JP_Lehtinen
6 - Meteoroid

Yes, and it works with Text box interface tool

 

There is macro that contains text box tool, and UI input flows inside macro.

But when using List box tool with List values is Field from connected tool that will modify select tool with user choices, I can not manage to create similar working workflow that works with text box.

apathetichell
20 - Arcturus

app updates action tool updates text box. text box preprocess to format as needed -> macro.

 

this passes the user selected values to the macro. so for example --- listbox column selection in outer app becomes list in text box (say comma seperated)... this is passed to text box. text to columns (row mode) changes each value to a row. this feeds into your macro which is expecting a series of values to do something (filter?/whatever)

Labels
Top Solution Authors