add
You can use the add command to add scheduling items to the database.
Overview
You can add new items and items similar to existing ones. If an item already exists,
you are asked whether to replace the item or not. You must specify the file location
before the file name, if the file is not located where you run the command. You can
use the unlock option, if the item is locked by any other user.
The add command checks for loop dependencies in a workflow. There
is a loop dependency in a workflow, if
TASK1 follows TASK2 and TASK2
follows TASK1.
You must have add access to add an item to the database. If the item already exists and locked by any other user, then you must have modify and unlock access to the item.
Syntax and command line options
ocli model add|a filename [;unlock]
filename: You must specify the name of the file that contains the item definition.
unlockYou must add the parameter if the item you want to edit is locked by the same user and session.
Examples
- Run the following command to add tasks from
taskspend:ocli model add tasksspend - Run the following command to add workflows
from
skedon:ocli model add skedon