GetNumberArray method: OptEngine class
Syntax
GetNumberArray(PARAM_NAME)
Description
This method gets the value of a transaction output parameter with a data type Array of Number. This cannot be used with the RunAsynch method; RunSynch is needed to make the transaction output parameter values immediately available.
The DetailedStatus OptEngine property indicates the completion status of the OptEngine method call GetNumberArray. For GetNumberArray, DetailedStatus can have the value:
-
%OptEng_Success.
-
%OptEng_Fail.
-
%OptEng_Method_Disabled: this indicates that the method is disabled or not valid.
Note:
Do not pass an array of type Integer as a transaction parameter. Use an array of type Number instead.
Parameters
| Parameter | Description |
|---|---|
|
PARAM_NAME |
Enter a string for the name of the output parameter to get from the transaction that was just performed with RunSynch. This parameter must be defined as an output or both (input and output) in the analytic type definition. See Optimization Framework: Configuring Analytic Type Transactions. |
Returns
Returns an Array of Number object; use this method when that is the data type of the transaction output parameter value.
Example