---
schema_version: "1"
id: 6ea39a4bce659c048c16bd1aedc5fd85db391c3c159114da8d5a4efa9757de87
title: Matrix Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_matrix_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_matrix_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ab12a4cbd3462052152f1b29b952ca901a013de67f75596bc8a91b58955f12b0
description: For the managed package runtime, the Omniscript Matrix Action enables you to retrieve a value from a calculation matrix by specifying the required input parameters.
products:
  - Omnistudio
release: "264"
---
# Matrix Action (Managed Package)

For the managed package runtime, the Omniscript Matrix Action enables you to retrieve a value from a calculation matrix by specifying the required input parameters.

![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, the matrix shown below specifies insurance premiums based on age, sex and smoking status.

![image](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/matrix.png)

The Omniscript below collects the required data from the user, submits it to the matrix, and displays the resulting premium.

![image](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/matrix_os.png)

The matrix action element is configured as follows:

![image](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/matrix_action_element.png)

In the **Matrix Input Parameters** field, map data from the Data JSON (in the **Data Source** field) to the parameters that the matrix defines (in the **Filter Value** field). To specify the matrix to be used, choose it from the drop-down list in **Remote Options**.

To control when the matrix executes, enter a DateTime value in the **Execution Date Time** field. If the **Execution Date Time** field is left blank, the matrix executes immediately.

- **[Matrix Action Properties (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_matrix_action_properties.htm&release=264.0.0&type=5)**  
    For the managed package runtime, this page contains information on Matrix Action Properties.