


Assign_To
| Assign_To(
|
|
| <var>
| // A quoted string which is the name of a valid rules engine variable or an
expression which returns a string which is a valid rules engine variable name.
|
| , <expr>
| // Sum, Count, Max, or Min.
|
| )
|
|
This function is commonly used in complex expressions to help debug sub-expressions and to make the code easier to read by assigning values to items sequentially.
The variable name must be quoted or the variable will be treated as an expression to be evaluated. However, you can use an expression to return a variable name.
Example
Assign_To(
'Tmp_Orig_Key'
,'90276'
)
Returns: “92076” and creates a variable named “Tmp_Orig_Key” with a value of ‘90276’