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

Passing values to control parameter

ca9019
5 - Atom

Hi everyone,

I’m working on a main workflow designed to process individual TPA values and generate error files for each TPA value.

 

Here’s my setup:

I have an output macro with two output paths:

One path contains the full dataset.

The other path contains the individual TPA values.

I created a Batch Macro that:

Takes the TPA values as the Control Parameter input.

Takes the full dataset as the Macro Input.

 

Inside the macro, after the batch macro input, I use an Action Tool that dynamically updates the expression of a Filter Tool. This filter is supposed to pass only one TPA value at a time to generate separate error files.

 

However, when I run the main workflow, I keep getting this error:

“Control parameter must be mapped to a field.”

 

I’ve double-checked that the Control Parameter is connected and that the Action Tool is set up to update the filter expression, but I’m stuck on why this error keeps appearing.

 

Has anyone encountered this error in a similar setup? What might cause the Control Parameter to not map correctly, and how can I fix it?

3 REPLIES 3
ca9019
5 - Atom

Main workflow.png

Main workflow

 

  

ca9019
5 - Atom

ca9019_0-1753743624341.png

Batch Macro

pstrasser
5 - Atom

Hello- when you configured your batch macro in the "main" workflow, did you go over to the Questions tab in the config pane and select the column with the unique list? I just mocked up a similar example and everything seemed to work once that was selected.

--edit-- accidentally attached the macro vs the package 🙃

pstrasser_0-1753746115714.png

 

Labels
Top Solution Authors