I have a Picklist screen component in a Flow which has many choices defined in the same flow:
Now I need to make a formula that references the Choice Value of a given choice:
If I use UPPER({!Plan} + '_PRODUCT_A')
I get (OLD) STARTER_PRODUCT_A
instead of STARTER_PRODUCT_A
as I expected. I therefore seem to be getting the choice label when I use the {!Plan}
placeholder instead of the choice value.
On the suggestion of the comment from User6670 below, I have tried the following:
UPPER(TEXT({!Plan}) + '_PRODUCT_A')
But this yields the following error when I save the flow:
The formula expression is invalid: Incorrect parameter type for function 'TEXT()'. Expected Number, Date, DateTime, Picklist, received Text
How do I write a formula so that I get STARTER_PRODUCT_A
as the result?