Copyright © Cloud Software Group, Inc. All Rights Reserved |
• This option is not available from the swutil menu. You can only import procedure libraries using the command line option either interactively or by using the options to suppress the prompts.
• The interactive method displays prompts for each stage of the import. If you want to import a procedure library without displaying all of the prompts, use the command line method. See Import a Procedure Library Using Command Line Options.
− library is the name of the library you want to import.To import a procedure libary (for example, carpool.xpdl) from a directory outside of SWDIR/util (for example, /Dept/Purchasing), run the following command:
− target is the full path to the library (as shown in Procedure Manager).
The library can be either an .xfr or .xpdl library. If there is only one type in the folder, then iProcess imports that library automatically. If however there are both types such as carpool.xfr and carpool.xpdl, you will be prompted to choose which you want to import, as follows:
2. The library and all of its procedures are imported to Procedure Manager in the target you specified. If you want to move the library or procedures, use Procedure Manager to do so. See "Moving and Copying Procedures, Libraries and Shortcuts" in TIBCO iProcess Modeler Procedure Management.
When you import an .xpdl library, it already has a default destination library, which is the user input package name used when you exported the procedures as .xpdl from TIBCO Business Studio. However, you still can define the destination library, which will contain the default destination library.To import a procedure library from the admin.xfr file into the /Dept/Purchasing library following the interactive prompts, you would use the following command:
To import a procedure library from the admin.xfr file into the /Dept/Purchasing 2 library following the interactive prompts, you would use the following command (note the quoted pathname):
• library is the name of the library you want to import.
• target is the full path to the library (as shown in Procedure Manager).
• options can be one or more of the following to suppress or change a specific option:
Table 9 swutil IMPORTLIB options Do not prompt for the procedure’s Owner (the current user is used). +d owner Use existing use files if filenames are the same. -ix
• i for Incomplete
• w for WithdrawnFor example, -ii imports Incomplete procedures as Incomplete.Note: If you choose -ii but an Incomplete or Unreleased version of a procedure already exists, the option is ignored and that procedure is imported as Withdrawn instead. -mx
• m for Model
• r for Released
• w for WithdrawnFor example, -mr imports Model procedures as Released.Note: If you choose -mm but a Model version of a procedure already exists, or -mr and a Released version already exists, the option is ignored and that procedure is imported as Withdrawn instead. +n name -rx
• m for Model
• r for Released
• w for WithdrawnFor example, -rr imports Released procedures as Released.Note: If you choose -rm but a Model version of a procedure already exists, or -rr and a Released version already exists, the option is ignored and that procedure is imported as Withdrawn instead. -ux
• u for Unreleased
• w for WithdrawnFor example, -uu imports Unreleased procedures as Unreleased.Note: If you choose -uu but an Incomplete or Unreleased version of a procedure already exists, the option is ignored and that procedure is imported as Withdrawn instead.
For any options that you do not set or suppress, you will be prompted in the same way as when you use swutil IMPORT interactively.To import a procedure library from the admin.xfr file into the Dept\Purchasing library where you want all released procedures to be imported as model procedures and you want to suppress all prompts, you would use the following command:
swutil IMPORT -v and IMPORTLIB -v can be used so that messages showing whether procedures have been committed to the database or rolled back are displayed. For example, if you import a procedure called quota that already exists:
• library is the name of the library to import.
• target is the full path to the library (as shown in Procedure Manager).
•
• -v (optional) can be used to display messages about whether a procedure is rolled back or committed to the iProcess database.
Copyright © Cloud Software Group, Inc. All Rights Reserved |