Salesforce Fact #128 | Dynamic Lookup in screen flow

Same like dynamic picklist, we can also create dynamic lookup based on the selection made by the user in flow. We can use the set component visibility option.

In this example, when the user selects Account he can lookup by AccountId and when he selects Contact he can lookup by Contact. For the ObjectApiName, I have considered Case.

Attached are the screenshots.










Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow