limit sched

You can use the limit sched command to set the number of tasks that can run simultaneously in aworkflow.

Overview

There is no specific limit for the number of tasks in a workflow. The default value is null and you can use the limit sched command to manage the number of tasks. You must have limit access on workflow to run the command.

Syntax and command line options

You can enter the command as follows:

ocli plan limit sched | ls jstreamselect ;limit [;noask]

The jobstreamSelect and limit parameters are mandatory. The details required with each parameter are as follows:

jstreamselect

Specify the workflow to update, by means of attributes and qualifiers.

limit
Specify the number of tasks to set as a limit in the workflow definition. You can specify any positive numerical value.
noask

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

Examples

  1. To change the task limit on all workflows that include "sales" sales in their name, run the following command:
    ocli plan ls sales@;4
  2. To change the task limit on the CPUA#Task1 workflow, run the following command:
    ocli plan ls=CPUA#apwkly;6