Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Collections and Recovery
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Clone and Customize the Prebuilt Context Definition for Collections and Recovery

          Clone and Customize the Prebuilt Context Definition for Collections and Recovery

          To pass the context of a Collection Plan record to related Business Rules Engine components to determine the collection plan segment, clone and customize the prebuilt context definition, CollectionPlanSegmentContext.

          Required Editions

          Available in: Lightning Experience
          Available in: View product and edition availability.
          User Permissions Needed
          To clone and customize context definitions: Context Service Admin
          1. From Setup, in the Quick Find box, find and select Context Definitions.
          2. Click the dropdown arrow next to the CollectionPlanSegmentContext context definition, and then select Clone.
          3. Enter a name and save the definition.
            The predefined node and its fields are cloned.
          4. Edit the custom context definition that you cloned.
            1. Click the Custom Definitions tab.
            2. Click the dropdown arrow next to the cloned context definition, and click Edit.
            3. If necessary, modify the context definition details, and then click Next.
          5. If necessary, modify the predefined attributes under the Collection node.
            1. Click Add Attributes.
            2. Specify the attribute details such as attribute name, type, data type, display name, and description.
            3. Click Next.
            4. Under the Collection node, add or modify context tags, if necessary.
            5. Save your changes.
          6. To persist data by transferring extracted data from cache to collection plan record fields, map the cloned context definition's node and its fields to the Collection Plan object fields.
            1. Click the cloned context definition.
            2. Click Map Data.
            3. On the Mapping Intent Details tile, select at least one Mapping Intent operation.
            4. To begin the mapping, click Map.
              You’re directed to Context Mapping’s builder page to begin mapping your nodes and attributes. You can map the Collection Plan fields to the predefined and user-defined fields.
            5. Map the context definition's node with the Collection Plan object, and map the node attributes with the collection plan fields.
            6. Add the context mapping
          7. Save your changes.
          8. To activate your context definition, click the dropdown arrow next to the context definition that you cloned and customized, and select Activate.
           
          Loading
          Salesforce Help | Article