Skip to main content

I'm attempting to use record fields on a screen flow for the first time, and even though mailing address (Contact object) is an option for me to choose, it's not recognising that I'm populating the field. 

 

After the screen I have a decision that asks if the mailing address is null, and I get the following error message when debugging the flow:

 

The flow failed because the "varContact.MailingAddress" variable was set with an incompatible data type. Make sure that assignments to this variable use only compatible data types".

 

Any idea? I'm struggling to find anything online that can help.

답변 1개
  1. 2023년 6월 22일 오후 12:42

    Hi @Amy Brooke

     

    Your Mailing Address is most likely a Compound field, made up of street, city, state, etc. And compound fields are not supported by dynamic forms. 

     

    Two possible solutions:

    • Easy way: Use the individual fields instead of a compound field. 
    • Harder Way: use a custom component that can handle compound fields. 

    Check out: 

    Good Luck

0/9000