Set Up Context Definition for Digital Lending Qualification Rules
Simplify the sharing and consumption of business application data using Context Service. To run qualification rules, turn on context definition and configure it following the steps. This lets you use the qualification APIs and APEX Implementation.
Required Editions
Available in: Lightning Experience Available in: Professional, Enterprise, and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To set up Digital Lending: | Digital Lending permission set |
| To configure qualification rules: | Product Catalog Management Designer permission set AND Product Discovery Admin permission set AND Rule Engine Designer permission set |
| To run qualification rules: | Product Catalog Management Viewer permission set AND Product Discovery User permission set |
Before creating context definitions for digital lending, complete the steps to set up and learn more about Context Services.
Context definition considerations:
- LendingProductDiscoveryContext context definition has three nodes at the parent level. There are no restrictions to the number of nodes you add at the parent level.
- You can’t add nodes to FileBasedApex in industriesdigitallending.
- Don’t add to or change the node structure of the Catalog. You can add attributes.
- You can add attribute or child nodes to the Account and User nodes.
- You can add new nodes to the additionalContextData.
- Turn on Context Service.
- In Setup, in the Quick Find box, enter Context Service, and then select Context Definitions.
- Click New.
-
Enter the context definition details:
- Enter a name.
- In Inherited From, select the standard definition that you want to extend.
- In Description, enter additional details about the context definition.
- Select the effective date range.
- In Time to Live, select how long you want the data that’s loaded in your context instance to live in the context service’s cache.
- Click Next.
- Configure a structure to define a relationship between the nodes. You can add child and sibling nodes.
-
Enter the node details:
- Enter a name.
- To add child nodes, click the child node icon.
- To add sibling nodes, click sibling node.
- Click the more icon, and select Mark as Transposable if you want to convert the node’s record to a field name.
- Click more icon, and select Delete to remove a node.
- Click Next.
- Add attributes for each node by choosing an input type, the data type, and values if you have a key-value pair.
- Click Add Attributes and enter the attribute details.
- Click Next.
- Define the context tags that can be added at the node and attribute levels.
-
Specify the context tag details.
- Choose a node. In the Tags column, enter the tag name, such as Phones, and click Done.
- Similarly, choose an attribute. In the Tags column, enter the tag name, such as Color, to set color as an attribute, and click Done.
- Save your changes.

