We are using Salesforce’s State and Country picklists. When we display the State/Province Code in a separate column on a table component, the field shows the appropriate ‘state’ based on the selected country code and state/province code on the record. When we display the State/Province Code in a template field, it pulls in the wrong ‘state’ for the selected country code and state/province code on the record.
In this example, you can see that we have set the state and country to be Pennsylvania and United States.

Viewing the same record in a template field, shows:
Note that ‘Palermo’ is a province in Italy. It’s State/Province Code is ‘PA’ and matches Pennsylvania’s code.









