community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx Designer Ideas

Share your Designer product ideas - we're listening!
#SANTALYTICS

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More

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
Meteor

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...

Nebula
Nebula

'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.

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.

Nebula
Nebula

This is great news - thanks @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.