---
schema_version: "1"
id: 29bd628dd59b86928e8dd50f50f8f53e9deea704be5a4f64bedede939f464eae
title: Formula Overview (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_formula_overview.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_formula_overview.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 775ad6b49aa94543b3f103539f25f75f7771575445de0414daf23f30298533ff
description: For the managed package runtime, the formula builder that is available in Omnistudio Data Mappers and Integration Procedures, and in Vlocity Intelligence, eligibility rules, underwriting rules, state rules, and calculation procedures enables you to use functions to define calculations required by your business logic.
products:
  - Omnistudio
release: "264"
---
# Formula Overview (Managed Package)

For the managed package runtime, the formula builder that is available in Omnistudio Data Mappers and Integration Procedures, and in Vlocity Intelligence, eligibility rules, underwriting rules, state rules, and calculation procedures enables you to use functions to define calculations required by your business logic.

![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).

For example, an insurance product might insure only art pieces that were created before a specified year. You can define an eligibility rule that uses a formula to evaluate the item's creation date attribute, as shown in the figures below.

![The MacArtIns.paintDate variable is added to an Eligibility rule. The DATEDIFF function is also listed.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/eligibility_screenshot.png)

![The Eligibility Rule has the formula MacArtIns.paintDate < 01/01/1964.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/paintdateexpression.png)

For information on operators, functions, and formula syntax, see [Function Reference (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_function_reference.htm&release=264.0.0&type=5 "For the managed package runtime, use these operators and functions in Omnistudio Data Mappers and Integration Procedures, and in Vlocity Intelligence, eligibility rules, underwriting rules, state rules, and calculation procedures."). For information on eligibility rules, see Creating Eligibility Rules.