Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

vlocity_ins__insOsSingleInstance Product Retrieval and Rate Calculation Using InsProductService

Publish Date: Jun 17, 2026
Description

The vlocity_ins__insOsSingleInstance Lightning Web Component (LWC) retrieves and displays products along with their calculated prices within an OmniScript. Product retrieval and pricing calculations are performed using services provided by the InsProductService class.

     

    Resolution

    When the vlocity_ins__insOsSingleInstance LWC component is added to an OmniScript, it uses the services provided by the InsProductService class to retrieve products and calculate their prices.

    The following services are used:

    • getEligibleProducts: Determines and retrieves the eligible products. The retrieved products are then passed to getRatedProducts to calculate and retrieve the rates. 

    • getRatedProducts: Retrieves product details along with their calculated rates.

    • repriceProduct: Recalculates rates when a product is customized. This service is not applicable to insOsProductSelection.

    After these services are executed, the products and their corresponding calculated prices are displayed in the LWC component.

    Knowledge Article Number

    005387246

     
    Loading
    Salesforce Help | Article