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?