====== MatrixHandler ======
==== Description====
This handler can only be used in combination with the [[en:software:tim:rules_matrix | Rules Matrix ]]. The handler searches for matches in the matrix. The search values are defined by the parameters. The evaluation takes places based within the [[en:software:tim:rules_matrix | Rules Matrix ]]. For the following parameter examples, the example from this entry will be used: [[software:tim:rules_matrix | Rules Matrix ]].
------
==== Action Class ====
com.dooris.bpm.actionhandler.MatrixHandler
\\
----
==== Event Type ====
any
==== Action Name ====
any
==== Mandatory Fields ====
none
----
==== Parameter ====
== matrixName ==
This parameter contains the name if the matrix being evaluated.
Explanation ([[#Example]])
\\ == columnValueMapping ==
Here the different search columns and the searched values have to be defined. The column names and values can come from process variables. They have to be declared like so: ${NAME_DER_VARIABLE}. The syntax is the following:
COLUMNNAME~§~SEARCHED_VALUE~%~
If the search should be run for more than one value, the statement has to be repeated:
COLUMNNAME~§~SEARCHED_VALUE~%~COLUMNNAME_2~§~SEARCHED_VALUE_2~%~
Explanation ([[#Example]])
\\ == columnResultMapping==
This parameter defines the process variables in which the results are saved. The column in which the results are found within the matrix is also noted here. The column type must be set to [[software:tim:rules_matrix#spalten_definieren | Result]].
COLUMN_NAME~§~VARIABLE_NAME~%~
If more than one result is expected, the statement has to be repeated.
COLUMN_NAME~§~VARIABLE_NAME~%~COLUMN_NAME_2~§~VARIABLE_NAME_2~%~
----
==== Example====
=== Flowcharter ===
{{ :software:tim:matrix_handler.png?800 }}
=== Webclient ===
{{ :software:tim:actionhandler:matrixhandlerweb1.png?400 }}{{ :software:tim:actionhandler:matrixhandlerweb2.png?400 }}
----