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!
The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

Test data on batch macros

When building macros - we have the ability to put test data into the macro inputs, so that we can run them and know that the output is what we expected.    This is very helpful (and it also sets the type on the inputs)

 

However, for batch macros, there seems to be no way to provide test inputs for the Control Parameter.   So if I'm testing a batch macro that will take multiple dates as control params to run the process 3 times, then there's no way for me to test this during design / build without putting a test-macro around this (which then gets into the fact that I can't inspect what's going on without doing some funkiness)

 

Could we add the same capability to the Control Parameter as we have on the Macro Input to be able to specify sample input data?

5 Comments
collin_pace
9 - Comet

Hi Sean,

This sounds similar to my idea from way back in 2015.  There is a workaround to testing using constants, if you're interested see my post here below.  Example is in the thread.

 

https://community.alteryx.com/t5/Alteryx-Product-Ideas/Batch-Macro-Testing-Update-quot-Test-View-quo...

SeanAdams
17 - Castor
17 - Castor

'preciate it @collin_pace - I'll take a look over the weekend.

I think there's a lot we can do in macros to make this more robust in a testing and debugging sense, so every bit helps.

jpoz
Alteryx
Alteryx
Status changed to: Coming Soon

Thank you for the suggestion. The ability to enter text into control parameters when debugging them will be available in an upcoming release.

SeanAdams
17 - Castor
17 - Castor

This is great news - thanks @jpoz 

jpoz
Alteryx
Alteryx
Status changed to: Implemented

Thank you for suggesting this! In the 2019.4 release (https://downloads.alteryx.com), you can enter text in the test view for control parameters in order to debug them.