Configuring rows and columns in a map value
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
Field | Description |
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
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. |
Label | Enter 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.
Field | Description |
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
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. |
Label | Enter brief text that becomes a column name on the Matrix tab. |
Previous topic Unit testing a map value Next topic Unit testing a map value