I have a Quick Action which works fine and has predefined field to a lookup record, AddressType, though it happens in all cases. When deploying to scratch org I get error
Formula result is data type (Text), incompatible with expected data type (Lookup(Address Type)).
Formula return now is
MasterObject.AddressType__c. I also tried
MasterObject.AddressType__r.Id. Neither works same error in both (second one makes sense though). How do we reference these so they can be deployed to scratch orgs?