OpenWGA 7.11 - OpenWGA Concepts and Features

Administration » Features » Jobs » Task types

Execute TMLScript module

This task type executes the code of some custom TMLScript module of any connected web application.

The code is executed in a special TMLScript runtime version for jobs. You can see in the TMLScript reference what TMLScript functionalities are available in Job runtimes. The section "Available in" for each functionality must contain "TMLScript tasks in Jobs".

The WebTML context of a TMLScript task is initially positioned on the web application that contains the TMLScript module while not yet pointing to a concrete content document. All actions run under unrestricted master session rights. The task is able to open all web applications of the runtime under these rights.

A JobContext object is available to the script under name "jobContext" which provides job-specific information and actions to the code.