OpenWGA 5.4 - TMLScript reference



Description This object serves job and scheduler specific information and functions inside an OpenWGA job, like logging to the job log, retrieving job options and the like.

Additionally it is possible for tasks that run in the same job to communicate via custom job options. A task may write a value that a subsequent task can read and react on.
Retrieval Object "jobContext" in scheduler jobs
Allowed in script types
  • TMLScript tasks in jobs
Properties and methods
Name Purpose
log Provides a log object for writing to the job log
getOption(name [, defaultValue]) Reads an option from task or job
options Provides the options defined on the job
customOptions Provides access to custom job options
previousResult Returns the result of a previous task
result Holds some custom result value of the task