Import Procedures Using Command Line Options
Use the swutil IMPORT command line options to quickly import one or more procedures. By setting the required command line options, you can define the required import options and suppress the prompts/questions.
To import a procedure, use the following command:
swutil IMPORT [procedure] [options]
where:
| • | procedure is the name of the .xfr file to import. |
To import a procedure (for example, carpool.xfr) from a directory outside of SWDIR/util (for example, /Dept/Purchasing), run the following command:
swutil IMPORT /Dept/Purchasing
| • | options can be one or more of the following to suppress or change a specific option: |
|
Option |
Description |
|||||||||
|
|
Overwrite the existing procedure description when you import a procedure as a new version. |
|||||||||
|
|
Do not overwrite the existing procedure description when you import a procedure as a new version. |
|||||||||
|
|
Do not prompt for the procedure’s |
|||||||||
|
|
Do not prompt for the |
|||||||||
|
|
Use existing |
|||||||||
|
|
Suppress confirmation when generating a new GUID for a renamed procedure. |
|||||||||
|
|
Display the command help (showing these options.) |
|||||||||
|
|
Import an Incomplete procedure with status
For example, Note: If you choose |
|||||||||
|
|
Overwrite lists that already exist. |
|||||||||
|
|
Import a Model procedure with status
For example, Note: If you choose |
|||||||||
|
|
Choose to create a new version of the procedure for the prompt “New version or New name”. |
|||||||||
|
|
Import the procedure as a new procedure with the given name instead of prompting for “New version or New name.” |
|||||||||
|
|
Do not overwrite access control properties |
|||||||||
|
|
Overwrite access control properties |
|||||||||
|
|
Import a procedure using the same procedure name (as a new version), owner and release status (except for an Incomplete procedure) with which it was exported, without having to complete the associated prompts. Note: This option is equivalent to using the |
|||||||||
|
|
Import a Released procedure with status
For example, Note: If you choose |
|||||||||
|
|
Respond No to Import/Overwrite Table Data? prompt. Do not Import/Overwrite iProcess Table Data. |
|||||||||
|
|
Respond Yes to Import/Overwrite Table Data? prompt. Import/Overwrite iProcess Table Data. |
|||||||||
|
|
Import an Unreleased procedure with status
For example, Note: If you choose |
|||||||||
|
|
Display messages showing if a procedure has been committed to the database or rolled back. See Display Commit/Rollback Messages When Importing Procedures or Procedure Libraries. |
|||||||||
|
|
Import the procedure with case data normalization enabled. See TIBCO iProcess Engine Administrator’s Guide for more information about case data normalization. |
|||||||||
|
|
Import the procedure with case data normalization disabled. See TIBCO iProcess Engine Administrator’s Guide for more information about case data normalization. |
|
Note |
If you specify a procedure name or any options, the prompt is suppressed and the command terminates at the end of the current import process. |
The procedure is imported to the root Procedure Management library. If you want to move the procedure to another library, use Procedure Manager to do so. See "Moving and Copying Procedures, Libraries and Shortcuts" in TIBCO iProcess Modeler Procedure Management.
Example
To import a released procedure called quota as a Model procedure suppressing all the other questions/prompts, use the following command:
swutil IMPORT quota -d -e -rm +t
|
Note |
You can abbreviate the options as shown in the above example. Therefore, instead of entering |