Specifying the Switch Value
The variable you use as the switch variable:

Must be a String or constrained Object variable.

Must be a variable that can exist in the pipeline when the BRANCH step is executed at run time.

Must be formatted as
document/
documentVariable, if you are specifying a field in a document as the switch variable (for example,
BuyerInfo/
AccountNum).