I created a new address field under my opportunities so I could track shipping vs billing address. I have created a flow on the Opportunity object for when the shipping address is created / updated it automatically updates on the account level. Everything is working exactly as expected EXCEPT the state field.
When I created my flow, I have it looking like this:
Shipping City --> {!$Record.Shipping_Address__City__s}
ShippingStreet --> {!$Record.Shipping_Address__Street__s}
ETC
However, for state it only allows me to choose {!$Record.Shipping_Address__State
Code
__s} from the opportunity record and not just the state {!$Record.Shipping_Address__State__s}.
But when I do choose the state code value I get an error like the photo below when it's deployed. Can someone please help? I have been trying to figure this out for hours. I attached a photo of how I have it all set up.
I am starting to think it's the custom address field that is creating this issue but i don't know any way around this.
#Flow
If you enable state and country picklists then your standard address fields should behave like your custom address fields.
Make sure you understand all the flow on effects of doing this (especially if you have any integrations) and test in sandbox