Script statement: Sets the earliest start time in workflows
:SET_CONDITION Condition [= Value]
Syntax |
Description/Format |
---|---|
Condition |
Start condition that should be set. Allowed values: "EARLIEST_START_TIME", "JOBP_EARLIEST_START_TIME" "EARLIEST_START_TIME" = Earliest start time of a taskAn executable object that is running. Tasks are also referred to as activities. within a workflowAn object of the Automation Engine that can include several executable objects and which runs them in a specified order. [Formerly called "ProcessFlow" and "JobPlan."]"JOBP_EARLIEST_START_TIME" = Earliest start time of a workflow |
Value |
Earliest start time that should be se.t Format: "DD/HH:MM" |
This script statement only works within the tasks of a workflow.
The earliest start time that is set with this functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… only applies for the particular objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task execution . The point in time that can be specified in the task properties is not changed. The earliest start time can also be retrieved at runtimeThe duration of a task's execution. It refers to the period between a task's start and end. It does not include its activation period (see also: activation and start). using the script function GET_CONDITION.
The following rules apply for setting the earliest start time:
The earliest start time of the workflow is the particular point in time that has been defined in the START box of the workflow.
In this example, the script statement is used in the script of a task running in a workflow. The task's and the workflow's earliest start times are set and output in the activation reportA report provides more detailed information about a task's execution or a component..
:SET_CONDITION "EARLIEST_START_TIME"="00/10:19"
:SET_CONDITION "JOBP_EARLIEST_START_TIME"="00/10:18"
:SET &RETJOBS# = GET_CONDITION ("EARLIEST_START_TIME")
:SET &RETJOBP# = GET_CONDITION ("JOBP_EARLIEST_START_TIME")
:PRINT "New earliest start time of the task:", &RETJOBS#
:PRINT "New earliest start time of the workflow:", &RETJOBP#
See also:
Script element | Description |
---|---|
Determines the earliest start time in workflows. |
Script Elements - Read or Modify Objects
About script
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |