Loading
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
          Configure Context Service Definitions for Service Processes

          Configure Context Service Definitions for Service Processes

          Synchronize your intake forms with your Salesforce records to automatically pre-fill known customer details. Setting up these connections guarantees that you capture and route any new data to the appropriate target fields.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions with Financial Services Cloud and Unified Catalog.
          User Permissions Needed
          To create and activate a context definition: Product Catalog Management Designer OR Financial Services Cloud Extension OR FSC Service

          Certain service processes use a predefined data model to store complex information. To use the predefined data model, configure context definitions. Context definitions connect your Salesforce records with the service intake form. The read mapping brings existing customer data into the form. The write mapping saves the data submitted in the form into the correct Salesforce fields. Generating the required Apex classes provides the code to run these data transfers.

          Complete the context definition configuration before you install the service process template.

          Perform this task only if you’re setting up these service processes:

          • Transfer Funds to Own Account
          • Transaction Dispute Management
          • Initiate Vehicle First Notice of Loss
          • Report First Notice of Loss for Homeowners
          • Manage Complaints

          Before you begin, assign the Context Service Admin and Context Service Runtime permissions sets to your users. See Manage Permission Set Assignments.

          1. From Setup, in the Quick Find box, enter Context Service Settings, and then select Context Service Settings.
          2. Turn on Context Definitions.

            After you turn on this setting, under Context Definitions in Setup, you can see the FNOLContext__stdctx, TfrFundCtxt__stdctx, and TrxnDisputeCtx__stdctx context definitions.

          3. From Setup, in the Quick Find box, enter Unified Catalog, and then select Unified Catalog.
          4. In the Context Definitions for Unified Catalog section, click New.
          5. Select the context definition that’s relevant to your service process. For example, select TfrFundCtxt__stdctx as the context definition for Transfer Funds to Own Account service process. Select TrxnDisputeCtx__stdctx as the context definition for Transaction Dispute Management service process. Select FNOLContext__stdctx as the context definition for Initiate Vehicle First Notice of Loss or Report First Notice of Loss for Homeowners service process. Select ManageComplainstContext as the context definition for Manage Complaints service process.
          6. Select the default values for read mapping and write mapping.
          7. Click + New Apex Class.
            This action opens a dialog to automatically generate the necessary Apex classes based on the context definition.
          8. Copy the generated Apex code.
          9. In a new browser tab, go to Apex Classes in Setup and create an Apex class by using the copied code.
          10. Return to the generation dialog, and then click Next Node to go to the next generated Apex class.
          11. Copy the code and create the next Apex class in Setup. Repeat this process until you create all the generated Apex classes.
          12. Reload the Unified Catalog setup page to register the newly created classes.
          13. In the Context Definitions for Unified Catalog section, click New again.
          14. Select your context definition, read mapping, and write mapping.
          15. In the Apex Class field, select the last Apex class that you created for the service process.
          16. Save your changes.
           
          Loading
          Salesforce Help | Article