Task Management

This function is used to create new batch tasks or to modify the characteristics of existing tasks.

Prerequisites

See also Refer to documentation Implementation

Screen management

Entry screen

The batch task management is carried out in a single tab. A batch task is characterized by a code that makes it possible to call it and by a certain number of technical characteristics defining the process to be launched. A batch task can be :

  • either an ADONIX program (processing)
  • or a report (print)
  • or system tasks defined by a command file (shell script under UNIX™, script under Windows™)

A batch task is defined either by the name of a function or by the name of a process. If a task is defined as a function, the transfer conditions of setups and authorizations (authorized sites among others). A task of this type can be included in a group of batch tasks.

The majority of batch functions are in this case, but a few rare functions, defined by the process name are not.

The creation of new batch tasks of the type Process assumes the creation of a process standardized with ADONIX AGL, as well as to describe the associated function.

A batch process can have a need for dynamically entered setups in a dialogue box at the time of each task submission (this screen can also then be called if the task is directly launched). The standardization of the development of batch tasks manages the call to a setup entry screen and returns the corresponding values for the execution, either directly (if the task is launched directly) or in a differed fashion.

Specific Buttons

Copy

Error messages

In addition to the generic error messages, the following messages can appear during the entry:

Task cannot be related to a recurring task when deactivated

The task is used in a recurring task. These will be deactivated in their next iteration: $1$.

Tables used

See also Refer to documentation Implementation

Appendix technique

In order to conform with Web development standards, a batch task must respond to the following criteria:

  • *   The function that defines it must make reference to an action of the type "standard process" (GTRAITE), which contains no principal window.
  • It may or may not contain an initial dialogue box.
  • The action "OUVRE_BATCH" must contain the opening of the necessary tables for the control labels aforementioned dialogue box.

The previous batch task posting methodology described in version 120 remains valid, but it must contain the posting of the processes that will only function in client-server mode. It is therefore strongly advised that it is not used.