What is your goal?
I want a Tools “Set Variable” module to evaluate why someone was disqualified from a Tally form and save the correct reason to Airtable. There are 4 possible reasons: Under 18, Over 65, Not English comfortable, Not available.
What is the problem & what have you tried?
The Tally Age field comes through as an array (Age). No matter what the person selected, the variable always outputs “Under 18” or empty — never the correct reason.
I have tried:
first() typed manually
first() inserted from the array functions panel
contains() from the array functions panel
Direct comparison with no wrapper
Current formula:
if(first(Age) = “1–17”; Under 18; if(first(Age) = “66+”; Over 65; if(first(English) = “No”; Not English comfortable; Not available)))
When I run the scenario and click the Tools module bubble, it shows Variable value: empty.
Error messages or input/output bundles
No error shown — scenario runs green
Tools module OUTPUT shows: DisqualifyReason: empty
Airtable confirms Age field value is exactly 66+ for test records