OpenWGA 7.10 - TMLScript reference
JobContextMethod :
getOption(name [, defaultValue])
On object | JobContext |
Usage |
Reads an option from task or job |
Description |
This method looks up all places where options are defined for the current job context, which is in the following order:
|
Parameters |
name (String): The name of the option to read defaultValue (Object, optional): A value that should be returned if the option is not available. If this is not specified the method returns null in that case. |
Return value |
The option value, default value or null |
Allowed in script types |
|