altrpri

You can use the altpri command to change the priority for a task or workflow.

Overview

The default priority value of a task in plan or a workflow in plan is 10. You can use the altpri command to manage the priority of a task or workflow. This gives you an additional control over the process and order of task or workflow run. You must have altpri access on the task or workflow to run the command.

Syntax and command line options

You can enter the command as follows:
ocli plan (altpri|ap) (jobSelect/jobstreamSelect) priority noask
The jobSelect/jobstreamSelect and priority parameters are mandatory. The details required with each parameter are as follows:
jobSelect/jobstreamSelect
Specify the name of the task or workflow to set the priority, by means of attributes and qualifiers.
Priority
Specify a value to set as priority for the task or workflow. You can use the following values:
  • Numerals 0 to 101
  • hi (Equivalent to 100)
  • go (Equivalent to 101)
Important: When the priority is set to hi or go, the task or workflow runs on the workstation even if the workstation limit is exceeded.
noask

When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.

Example

  1. To set the priority of OCTWON task in MONTHCRIC workflow as go, run the following command:
    ocli plan altpri MONTHCRIC.OCTWON go