The CA Process Automation parameters to pass to the main method. Enter the parameters in the order that they are to be passed to the main method. Leave this field blank if no parameters are required.
Only simple CA Process Automation parameter types can be passed to the main method as follows:
Note: The operator (or operator category) must contain the path to the JAR file that contains the class definition of this object. Otherwise, the operator fails with the reason:
Class Not Found Error when deserializing object. Make sure the class jar is in the operator or module list of jars.
Complex CA Process Automation parameters types (indexed types, ValueMaps, and so on) cannot be passed to the Java code.
The main method can access the passed parameters through the args array of objects:
The names of the variables that are saved in the operator dataset at the end of execution of the main method. These variables must be defined in the scope of the main method. Leave this field blank if no output variables are to be saved in the operator dataset.
The output variables are saved as follows:
Note: The Java object must be serializable (implements java.io.Serializable) to save it as a CA Process Automation JavaObject. Otherwise, the operator fails with the reason:
Error when serializing object of class: x. Object is not serializable.
Where x is the class name of the object.
|
Copyright © 2014 CA.
All rights reserved.
|
|