IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
importBusinessRuleArtifacts.jacl script
Use the importBusinessRuleArtifacts.jacl script to import business rule artifacts from a compressed file using a command line.
Purpose
The importBusinessRuleArtifacts.jacl script allows you to import business rule artifacts from a compressed file to a cluster or server using the command line. This function is useful when you are importing the business rules artifacts for multiple applications at one time.
Requirement: The compressed file that you use as input must be created by the exportBusinessArtifacts.jacl script.
Syntax
>>-wsadmin-- - -f-- - importBusinessRuleArtifacts.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 business rules 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 business rule 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 business rules artifacts from the compressed file, onlineorder.zip.
wsadmin -f importBusinessRuleArtifacts.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