Loading
Salesforce now sends email only from verified domains. Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          Add State Model Components to a New Record Page

          Add State Model Components to a New Record Page

          Salesforce provides special components for State Models that display states and rule results. Including these components in the record page for the base object is recommended. You can add them to a new record page.

          To create the record page for the Report_Card__c object:

          1. In Setup, in the Object Manager, in the Report_Card__c object, click Lightning Record Pages, then click New.
          2. Click Record Page, then click Next.
          3. In the Label field, type Report Card.
          4. In the Object field, type Report and select Report Card from the list.
          5. Click Next.
          6. Click Header and Right Sidebar, then click Finish.
          7. When you see the No Data for this Object window, click OK.

            The Report Card record page opens in the Lightning App Builder.

          8. Drag a Highlights Panel component from the Components list to the top Add Component(s) Here rectangle on the page.
          9. Drag a Record Detail component from the Components list to the left Add Component(s) Here rectangle on the page.
          10. Scroll to the bottom of the Components list.
          11. Drag a Vlocity State Transition component from the Components list to the left Add Component(s) Here rectangle on the page, and drop it immediately above the Record Detail component.
          12. To use Underwriting Rules along with State Transition Rules, click the Vlocity State Transition component and change the Get State Rules Class Name value to InsuranceRuleService.Underwriting (Workflow) Rules

            To see how this component works, see Workflow for Testing a State Model.

          13. Drag a Vlocity Rules Log component from the Components list to the right Add Component(s) Here rectangle on the page.
          14. To use Underwriting Rules along with State Transition Rules, click the Vlocity Rules Log component and change the Get Rules Log Class Name value to InsuranceRuleService.Underwriting (Workflow) Rules

            The page canvas should look like this:

            The Highlights Panel component is across the top. The Vlocity State Transition component is in the middle on the left. The Vlocity Rules Log component is in the middle on the right. The Record Detail component is at the bottom on the left.
          15. Click Save. In the Page Saved window, click Activate.
          16. On the Activation: Report Card page, click Assign as Org Default.
          17. Click Desktop and phone, then click Next.
          18. Click Save. Click Back to return to the Object Manager.
           
          Loading
          Salesforce Help | Article