Salesforce Fact #269 | Select exactly one lookup using screen flow

Suppose we have a use case where we need to select exactly one lookup: either account or contact in a screen flow. We can make use of component visibility option to hide one lookup when the other is selected. Also we can use required input attribute to ensure user needs to select one lookup.

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