Skip to main content

How to use input variable option in a business rule

When working on business rules for Cost Estimates and Compensation Calculation line items, a useful option available is the Input option.  Inputs can be used as "fixed" or "variable" parameters to bui

Updated over 2 weeks ago

When working on business rules for Cost Estimates and Compensation Calculation line items, a useful option available is the Input option. Inputs can be used as "fixed" or "variable" parameters to build more accurate logic within the Business Rule.

It is possible to use Business Rules to replicate the cascading of different Cost Estimates / Compensation Line Item results as inputs to the calculation done by the Calculation Input Mapping section. This includes the calculating of any Hypo Tax line items.

Calculation Input Mapping

The inputs for Benefit Sets and What-If Cost Estimates are also supported using the variable input option.

Using the Input option in the Business Rules, there is functionality to use a variable input as an input to the calculation for CE /CC line items.

There are three ways to use Variable Input function:

Adding Variable Input Component

Adding Input Variable

When adding Input Variable, the Input Variables modal appears. It provides the following options:

Adding Input Component - Input Variable.png

Create New

This options allow you to create a new input variable.

Creating A New Variable Input Component

To create an Input Variable, populate the 3 mandatory fields and click

  • Name - this appears on the Calculations screen

  • Input Name - this appears in the Input Value To (Calculation Input) drop down list or in the Additional Inputs section on the Calculations Inputs tab when running CC/CE.

  • Data Type - select Money or Number

Select Existing

This option allows you to use an existing configured input variable.

To select an existing Input Variable, click

Select Button in BR

from the list of Input Variable configured:

Selecting an Existing Variable Input Component

Copy Existing

This option allows you to copy an existing configured input variable and make slight changes to it.

To copy an existing Input Variable, click

Copy Button in BR

from the list of Input Variable configured.

Copying an Existing Variable Input Component

The copied version of the component will be created and you can make the necessary changes to it.

Updating fields on a copied varible input companents

Click

save

for the changes to incorporate.

Things to Note

  • Input Variable only support Number and Money data type

  • When a variable input component is saved, it will automatically appear on the Business Rules Components grid

Did this answer your question?