Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# Import a Procedure Library Interactively

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.

Note | The `IMPORTLIB` option is not available from the `swutil` menu.

| 1. | To import a procedure library, use the following command:

`swutil IMPORTLIB` `library``` `target`

where:

| — | `library` is the name of the library you want to import.

To import a procedure library (for example, `carpool.xpdl`) from a directory outside of `SWDIR``/util` (for example, `/Dept/Purchasing`), run the following command:

`swutil IMPORTLIB /Dept/Purchasing/carpool.xpdl` `target`

| — | `target` is the full path to the library (as shown in Procedure Manager).

Note | If your library names use spaces, you must quote them in the command line. See Import a Procedure Library.

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:

`'F'carpool.xfr,'P' carpool.xpdl,'Q'uit?`

Enter `F` to import the `.xfr` or enter `P` to import the `.xpdl`.

| 2. | For each procedure and sub-procedure in the library, the command displays the same prompts that you would see if you were importing the procedure individually. See Import a Procedure for more information.

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.

Note | 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.

## Example

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:

    swutil IMPORTLIB admin /dept/purchasing

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):

    swutil IMPORTLIB admin ‘/dept/purchasing 2’

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2024. Cloud Software Group, Inc. All Rights Reserved.