GET_CONDITION

Use the GET_CONDITION script function to determine the earliest start time of a Workflow, or of a task within a Workflow. The script function returns the earliest start time in DD/HH:MM format.

The earliest start time can be defined in the following ways:

More Information:

Syntax

GET_CONDITION (Condition)

Parameters

Note: GET_CONDITION only works with Workflows and tasks in Workflows.

Example

A task that contains the following script runs in a Workflow. The first line of the script retrieves the earliest start time of the task itself. The second line retrieves the earliest start time of the Workflow. The script prints both times in the activation report of the task.

:SET &RETJOBS# = GET_CONDITION ("EARLIEST_START_TIME")
:
SET &RETJOBP# = GET_CONDITION ("JOBP_EARLIEST_START_TIME")
:
PRINT "Earliest start time for task:", &RETJOBS#
:
PRINT "Earliest start time for Workflow:", &RETJOBP#

See also:

seealso

Script Elements for Handling Tasks