draft/undraft
The model command to set one or more job streams in the model in draft mode. You can temporarily disable one or more job streams, and re-enable them when necessary.
Overview
The command to set one or more job streams in the model in draft mode. A draft job stream is not added to the production plan.
Authorization
You must have DRAFT or MODIFY access to the job stream. If you have DRAFT access, this means you can only set the object as draft or non-draft. If you have MODIFY access, you can modify all the properties of the object. For more information about authorization for Orchestration CLI commands, see Access required to run Orchestration CLI commands.
Syntax and command line options
ocli model [draft/undraft] jobstreamselect [;noask]
You can enter the command as follows:
- jobstreamselect
- Specify the job stream name. The job stream must exist in the model; otherwise, an error occurs. You can operate on multiple job streams by using wildcards.
- noask
- If specified, the draft/undraft option in the job stream is updated without a confirmation prompt.
Examples
Run the following command to temporarily set in draft mode the specific job stream
(
JOB_STREAM on workstation WKS_AGT) in the
model:OCLI model draft WKS_AGT#JOBSTREAMRun the following command to restore a job stream previously set as draft
(
JOB_STREAM on workstation WKS_AGT) to a
non-draft state:OCLI model undraft WKS_AGT#JOBSTREAMRun the following command to apply the draft mode to all job streams on all
workstations in the model:
ocli model draft @#@.@