Loading
Salesforce now sends email only from verified domains. Read More
Insurance
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 Vehicles for Auto Business

          Add Vehicles for Auto Business

          First, the OmniScript takes the policy Id of the policy the user wants to add vehicles to.

          Then it calls another OmniScript: autoWC/reusableVehicleInput1. This same OmniScript is used by the autoWC/Quote OmniScript.

          The reusable OmniScript provides a form for users to enter information about the vehicle to be added. The fields and selections on this form correspond to the attributes on the insured item spec in the product model.

          The Vehicles screen.

          After the user saves the new vehicle information, the OmniScript does a bunch of things behind the scenes:

          1. Uses the InsPolicyService:getInsuredItems service to retrieve data about all the vehicles already insured by this policy.

          2. Uses an integration procedure to merge the new vehicles with the existing vehicles.

          3. Uses the InsPolicyService:getModifiedPolicy service to get modified policy data that includes the new vehicle(s).

          4. Uses an Omnistudio Data Mapper extract action to prepare the data for display.

          The OmniScript displays all the old and new vehicles using the insOsMultiInstanceGrandchildren Vlocity Lightning Web Component.

          Users can open any vehicle to change attribute values on coverages for that vehicle.

          The attribute values for the coverages.

          On the same page, users can select or deselect optional coverages.

          This page also shows the total new premium, the original premium, and other data. Each time the user makes a change to an attribute or optional coverage, the pricing here changes.

          The new and original premium.

          After the user clicks Add Vehicle, the OmniScript does the following behind the scenes:

          1. A Data Mapper transform action gets the data ready to create a new version of the existing policy.

          2. The InsPolicyService:createNewPolicyVersion service creates a new version of the policy that includes the new vehicle(s).

          3. Payment information is updated.

          Finally, a confirmation page appears. It includes the final pricing changes.

          The confirmation screen.
           
          Loading
          Salesforce Help | Article