---
schema_version: "1"
id: c96a0540c39d8ae51bb620767ba8b8fd95547b247943b1fcbb11c5871faf2bc5
title: Set Up a Calculation Procedure (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_set_up_a_calculation_procedure.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_set_up_a_calculation_procedure.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 49d0ed2cf369f92bc99a035dec7f33a9e18b1ce35f1c838ded1961d279ac4a1d
description: For the managed package runtime, before you can create calculation procedure steps, you must configure the calculation procedure as a whole.
products:
  - Omnistudio
release: "264"
---
# Set Up a Calculation Procedure (Managed Package)

For the managed package runtime, before you can create calculation procedure steps, you must configure the calculation procedure as a whole.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

1. On the **Vlocity Calculation Procedures** list page, click **New**.
2. Enter a Calculation Procedure Name, then click **Save**.
3. In the Vlocity Calculation Procedure Versions list, click the name of the version you just created.
4. To complete the header, click **Edit**.
    
    In the Vlocity Calculation Procedure Version Detail header, enter the following information:
    
    - **Start Date Time**: The day and time Vlocity will start using this calculation procedure.
    - **End Date Time**: The day and time Vlocity will stop using this calculation procedure.
    - **Enabled**: Select to enable this calculation procedure and locks it. Note: You can't edit a calculation procedure that's enabled.
    - **Priority**: The priority Vlocity gives this calculation procedure if a call matches more than one enabled calculation procedure. The higher the priority number, the higher Vlocity ranks it. For example, if Vlocity finds two matching calculation procedures, RatingCalc with Priority = 1 and RatingCalc with Priority = 2, Vlocity uses the calculation procedure with Priority = 2.
    - **Version Number**: Change if you want to give this calculation procedure a different version number.
    - **Enable Looping**: Select to enable this as a looping calculation procedure.
        
        To learn more about looping calculation procedures, see [Using Looping in Calculation Procedures](https://help.salesforce.com/s/articleView?id=xcloud.os_the_looping_feature_in_calculation_procedures.htm&release=264.0.0&type=5 "For the managed package runtime, looping calculations take a starting point, an endpoint, and an interval. At run time, the calculation procedure runs in a loop from start to end per interval. Each run uses the same input variables, plus an index variable that you can use in the calculation.").
    - **Looping Specification**: If you selected Enable Looping, enter a looping specification here.
5. Click **Save**.