Output parameters
- Last UpdatedJul 22, 2024
- 1 minute read
The GetParameterByIndex() and GetParameterByName() methods return values to the script through InputOutput, Output, or ReturnValue parameters.
It is not possible to return values directly to ArchestrA attributes through InputOutput, Output or ReturnValue parameters, only DIM script variables. This is a constraint of the scripting infrastructure implemented in Application Server version 3.0.
If you want the value returned by GetParameterByIndex() or GetParameterByName() to set a value to an ArchestrA attribute reference, perform the following steps:
-
Declare a local script variable and return the InputOutput, Output, or ReturnValue parameter by making a GetParameterByIndex() or GetParameterByName() method call.
-
Use this local variable to set the desired ArchestrA reference.