OpenWGA 7.2 - TMLScript reference

JobContext
Property :

customOptions

On object JobContext
Usage Provides access to custom job options
Description This is a lookup table which provides an custom options storage for the current job runtime. Task may modify or add custom options to provide information for subsequent tasks to read. These modifications will only apply to the current job context, not to later job runs.

This method will not return options configured on the task or job. If you just want to retrieve an option, no matter where it is stored, you should use jobContext.getOption() instead.


Return value Lookup table with job options as key/value pairs
Allowed in script types
  • TMLScript tasks in jobs