Validity keywords
In this topic you can find the list of validity keywords.
This topic lists the keywords that you can use when planning a workflow. You can find the syntax of the scheduling keywords and related examples.
validfrom / validto
These keywords specify a time frame in which a workflow definition is valid.
Syntax
validfrom date
Arguments
- validfrom date
- Using this keyword, you can define from which date the workflow definition is valid.
Comments
You can define different versions of the same workflow by creating other workflows with the same name and workstation, but with different validity intervals. The workflow identified as the dependency is the one that has a validity interval coincident with the period in which the dependency is active. When you define a workflow version, you must enter the validfrom date only. The validto value is automatically set according to the validfrom date of the following version.
The validto date specified in the run cycle is not included in the run cycle, so the workflow does not run on that date.
The validto date is shown when issuing list and display command when MAESTROCOLUMNS is set to 120.
- In the following example, the WORKFLOW1 workflow,
which contains the TASK_1 task,
is active from December 1, 2024.
SCHEDULE WS_AGT_1#WORKFLOW1 VALIDFROM 12/01/2024 : WS_AGT_0#TASK_1 END
draft
You can use this keyword to save the workflow as a draft so that it is not included in the plan generation process. If the workflow is referenced by dependencies, such workflow is not considered.
Syntax
draft
Comments
If you save as draft an existing task which has already been referenced, all the instances of that task do not run and the dependencies are realeased.
SCHEDULE WS_AGT_1#WORKFLOW1 VALIDFROM 12/01/2024
DRAFT
:
WS_AGT_0#TASK_2
END