Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring rows and columns in a map value

Updated on May 17, 2024

Complete the fields in the Input Rows and Input Columns sections of the Configuration tab to guides your inputs on the Matrix tab of a map value.

Evaluation of a map value can be based on the value of properties (specified here as the Row Property and Column Property), or on the value of parameters specified in a method.

If you leave the Property fields blank, the method must specify parameter values that match or are converted to the Data Type values on this tab.

When the Property fields are not blank but the activity step used to evaluate the rule specifies a parameter, the parameter value in the activity step is used, not the property value.

Input Rows

FieldDescription
Row Parameter
Data Type Select String, integer, double, Boolean, Date, or DateTime to control how the system makes comparisons when a row parameter is supplied. It uses the Java compareTo( ) method when comparing two dates or two strings.

For example, if the method parameter is "007" and the Data Type is String, then a comparison of "007" < "7" is true. If the method parameter is "007" and the Data Type is Number, then the comparison of "007" < "7" is false.

For Booleans, only the "=" comparison is available.

The Data Type field is ignored (and becomes display-only on the form) when the Row Property property is the source of a value for the map value. Comparisons in that case depend on the type of that property.

Row Property
Property Optional. If this map value is to obtain the row input value from a property, select or enter a property reference or linked property reference. If you leave this blank, the calling method must supply a parameter value for the row.

For a map value that is "called" by another map value, this field is required.

LabelEnter brief text that becomes a row name on the Matrix tab.

Input Columns

Select none as the Column Parameter Data Type when defining a one-dimensional map value.

Complete these optional fields to define a two-dimensional map value, which can be evaluated by the Property-Map-ValuePair method.

FieldDescription
Column Parameter
Data Type Select String, integer, double, Boolean, Date, or DateTime to define a two-dimensional map value and to control how the system makes comparisons when a column parameter is supplied. It uses the Java compareTo() method when comparing two dates or two strings.

To create a one-dimensional map value, select none. For Booleans, only the "=" comparison is available.

The Data Type field is ignored (and becomes display-only on the form) when the Column Property property is the source of a value for the map value. Comparisons in that case depend on the type of that property.

Column Property
Property Optional. If this map value is to obtain a column input value from a property, select or enter a property reference or linked property reference. If you leave this blank but use a two-dimensional matrix, the calling method must supply a parameter value for the column.

For a two-dimensional map value that is called by another map value, this field is required.

LabelEnter brief text that becomes a column name on the Matrix tab.

About Map Values

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us