Skip to main content
Hi everyone,

I think that I found a bug in the screen flow component "reference" when referencing a filtered lookup. Salesforce support told me to ask here about it.

Here the official documentation : https://help.salesforce.com/articleView?id=flow_ref_elements_screencmp_lookup.htm&type=5

How to reproduce :

1 - create a new lookup field from contact to account "account2" without filtering

2 - create a simple screen flow with only a reference component using this new lookup

Screen flow component reference is not working with filtered lookup3 - test it : you find all your account

User-added image4 - add a filter on the lookup to display only the account of the contact

User-added image5 - nothing in the flow now :

User-added imageI have the same results if the filter is optional.

Did i missunderstand something ? Or is this a bug ?
6 respuestas
  1. 25 oct 2021, 07:41
    Hi Fabio,

    No sorry. I don't know if it was already in the documentation (https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_screencmp_lookup.htm&type=5) but now dependent lookup filter are clearly not supported.

    I think you can try using a record choice option:

    https://sfdcquestion.blogspot.com/p/create-lookup-filter-in-lightning.html

    Or you can use the custom component from Unofficial SF: 

    https://unofficialsf.com/lookup/

    Best regards,

    Simon

     
0/9000