Create the GoodStudentDiscountEligibility Calculation Matrix (Managed Package)

For the managed package runtime, before you can create the Integration Procedure example with a Matrix Action, you must create the GoodStudentDiscountEligibility calculation matrix that it calls. This matrix returns a Qualified value of true for an Age between 16 and 24 and a GPA of 3.0 or greater.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  1. From the Vlocity Calculation Matrices tab, click New.
  2. In the New Vlocity Calculation Matrices window, choose Standard.

    Some Vlocity versions don't present this choice.

  3. In the Calculation Matrix Name box, type GoodStudentDiscountEligibility.
  4. Click Save. The record page for the new matrix opens.
  5. On the record page, click the Related tab.
  6. Click the GoodStudentDiscountEligibility V1 link. This is version 1 of the matrix.
  7. In the Table section, click Add Header three times. Enter the following information for each header:

    Header Name

    Header Type

    Data Type

    Matrix Display Order

    Age

    Input

    Number Range

    1

    GPA

    Input

    Number Range

    2

    Qualified

    Output

    Boolean

    3

  8. Click Save Data, then click Edit Data.
  9. In the resulting table, enter the following values:

    Age

    GPA

    Qualified

    15

    2

    false

    15

    3

    false

    16

    2

    false

    16

    3

    true

    25

    2

    false

    25

    3

    false

    For details about how number ranges work, see Numeric Ranges in Calculation Matrices (Managed Package).

  10. Click Save Data again.
  11. Click the pencil icon to the right of the Enabled checkbox and check the box.
  12. If the Priority setting has no value, enter a value of 1.
  13. Click Save. The finished matrix version looks like this:
    The matrix content is described in step 9.