ActionDecision()

Previous Next

Performs a decision as defined in the Decisions window in the Definer.

Syntax

ActionDecision(<name>, <param1>, <param2>, ...)

Parameters

name

Name of the decision to perform.

param1, param2, etc.

These additional parameters can be retrieved in the SQL condition of the decision. The SQL condition can refer to the extra parameters as :1, :2, etc. For example:

SELECT :2, <something> FROM <tablename> WHERE <columnname> = :1

NOTE:

Numbered variables in SQL expressions in the Yes action still refer to the elements of the SQL conditions' select list.