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

Batch Macro Testing - Update "Test View" Interface Designer

Idea:   I think the Interface Designer's "Test View" window should allow control parameters to act like "Text Boxes" and allow the designer to manually edit, or type a control parameter for use in a debug module.
 
When designing batch macros, there currently is not an easy, built-in way to test or debug their functionality.  There are two reasons to build a batch macro:
1) to reconfigure the macro at run time, just as if they were the answers to questions in the macro GUI;
2) to group the records going in the macro inputs into batches.
If I am designing a macro to perform the 1st function -- reconfigure the macro at run time -- I need to be able to test its functionality in a debug module.
 
The Interface Designer's "Test view" window should provide this ability by allowing you to type an example control parameter value.  However, the Test View window only allows you to "dropdown" to a value via a dropdown box.  This dropdown box is always empty, thus never allowing you to enter a test control parameter.  I think the Interface Designer's "Test View" window should allow control parameters to act like "Text Boxes" and allow the designer to manually edit a control parameter for a debug module.
 
I've attached a screenshot of a simple, two control parameter batch macro.  As you can see, in the Interface Designer, I don't have a way of inputting a value in either control parameter field to open a debug module.
 
 

 
15 Comments
collin_pace
9 - Comet
pgosztonyi
7 - Meteor

 It's hard to believe that this request got only 1 liked. The use of batch macros without the ability of being able to debug them efficiently reduces the agility of using Alteryx extremly.

 

Apart from joining this request, I'm interested in if anybody found an alternative method to debug batch macros?

collin_pace
9 - Comet

I couldn't agree more pgosztonyi.  

 

The workaround, if you're interested is to update the parameters in the Workflow tab.  You can set the Values under the constants.  But this is not very intuitive, IMO.

The_Dev_Kev_Env
9 - Comet

Agree with the last two posts. This is such a headache debugging. I'd go one step further and say that when you run a workflow with a macro in it, you should be able to right-click on that macro, and there should be some sort of "Open Macro with latest run's data" (for both the macor input and parameters)

 

@collin_pace - Can you give a little more detail in the workaround you suggested. I inputted the value I wanted, but when I ran the macro, it did not seem to take

collin_pace
9 - Comet

Hi @The_Dev_Kev_Env,

 

If you open your batch macro, go to the Workflow tab.  You'll see the Constants window which contains the Engine, Questions and Control Parameter rows.  In the control parameter row, enter a value in the "Value" column (e.g. "This is a Test" in the screenshot).  Then go to the Interface Designer window, go to Test View and select "Open Debug".  This will open a debug workflow and your constant value you entered will have updated any and all tools that have an action from your control parameter.  

In my example, the only tool being updated is the filter tool you can see in the screenshot.  In the debug, this tool has been correctly updated from "515" to "This is a Test".  

 

Hope this helps!

Cheers,

Collin

 

 

BatchMacro_ConstantTest.png

The_Dev_Kev_Env
9 - Comet

@collin_pace - Works! Thank you sir, could have avoided a lot of headache if I knew that a few months ago.

 

Best,

Kevin

BetterFerret
8 - Asteroid

Another option is to pair your Control Parameter interface tools with Text Boxes during development and setting up the action to take the value in the text box if the control parameter is empty.  Once development is complete, the Text Box can be hidden.  This technique can also be used to set up a default value for the parameter in cases where it is empty or doesn't fit some criteria dependent on the formula set in the Action interface tool.Capture.PNG

 

 

Happy Batching,

Dan

collin_pace
9 - Comet

Is there a way to bump ideas?  I have 10 stars, which I hoped would mean this idea would get reviewed by Alteryx staff.

 

Little help?  :)

RachelW
Alteryx Alumni (Retired)
Status changed to: Not Planned

Thanks for submitting this idea and the multiple comments! We're not planning on implementing this feature in the near term, but we'll keep it in mind for when we make some improvements to the interface tools and analytic apps. 

SeanAdams
17 - Castor
17 - Castor

This idea needs more attention - debugging Batch Macros is painful at the moment, and this seems like a very simple fix that would materially improve the experience.

 

Can we put this back on the candidate list for the Designer?