Salesforce Fact #422 | Matching rule details in screen flow

Do you know there is an object MatchingRule in Salesforce which stores the details of all the matching rules in the org. So we can use this object in screen flow to get the details and show the same to the user.

Attached are the screenshots.











Note: There is a field named SobjectSubType on MatchingRule object which can have either 'None' or 'PersonAccount' as value. If the rule is for a PersonAccount, the value is automatically set to 'PersonAccount' else it is 'None'. However, for standard matching rules present in the org, the field is blank.

For more details, check out: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_matchingrule.htm

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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