douglascayers / sfdc-reloadable-flow-component

Demo embedding Flow (via Lightning Component) in Lightning Record Page and it reloading when the record is updated.
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

Spinning wheel after summer 22 release. #2

Open Eiyu000 opened 2 years ago

Eiyu000 commented 2 years ago

i'm not sure if this is related but only this component is not working anymore in my app builder page.

Error:

Duplicate key DF:Distrito Federal (attempted merging values ui.services.connection.models.api.PicklistEntry@384e32ab[value=DF,label=Distrito Federal,validFor=AAAAAgAA,isDefaultValue=false,isActive=true] and ui.services.connection.models.api.PicklistEntry@239970ad[value=DF,label=Distrito Federal,validFor=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABA,isDefaultValue=false,isActive=true])

Eiyu000 commented 2 years ago

I have found that the error did NOT occur because of the summer 22 major release.

It failed because i enabled "custom address fields" https://help.salesforce.com/s/articleView?id=sf.fields_caf.htm&type=5

I then created a custom address field on a custom object and used that field in the screen flow. When i delete that field in the flow it's working again.

Final Edit: Ok so worries it's not your component, i have added my flow without this component and still have the same error.

Eiyu000 commented 2 years ago

So final remark I just had a duplicated country in the country picklist, it seems i can't delete those and need to contact salesforce. I re created my flow in a developer org (did't pull this component to there) and used a normal flow component in the app builder. it's now working as a charm. So finally it was just about a duplicate value, exactly what the error said in the beginning i guess ;) :) !!!