IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)

importSelectorArtifacts.jacl script

Use the importSelectorArtifacts.jacl script to import selector artifacts from a compressed file using a command line.

Purpose

The importSelectorArtifacts.jacl script allows you to import selector artifacts from a compressed file to a cluster or server using the command line. This function is useful when you are importing the selectors artifacts for multiple applications at one time.

Requirement: The compressed file that you use as input must be created by the exportSelectorArtifacts.jacl script.

Syntax


>>-wsadmin-- - -f-- - importSelectorArtifacts.jacl-- - filename-- -admin-->

>--+----------------------------------------------+------------><
   '- - -user-- -userid-- - -password-- -password-'   


Parameters

filename

A mandatory parameter that specifies the name of the file that contains the artifacts to import.

This file is created when you export selectors and selector components using the administrative console.

admin

A required parameter that prevents conflicts when multiple users with the same userid (for example, admin) import artifacts.

-user user

An optional parameter that specifies the userid the server uses to import the selector artifacts. Using this parameter and a password prevents multiple imports of the same artifact occurring simultaneously.

-password password

An optional parameter that specifies the password associated with the userid.

Example

The following script imports the selectors artifacts from the compressed file, onlineorder.zip.

wsadmin -f importSelectorArtifacts.jacl c:/artifacts/onlineorder.zip admin

Parent topic: Commands (wsadmin scripting)

Related information:

Obtaining online help using wsadmin scripting
Administrative command invocation syntax using wsadmin scripting
Use the wsadmin scripting tool
Jython script library