This topic applies only to the IBM Business Process Manager Advanced configuration.

exportBusinessRuleArtifacts.jacl script

Use the exportBusinessRuleArtifacts.jacl script to export business rules and selector components to a compressed file using the command line.

This function is useful when you are exporting the business rules and selector components for multiple applications at one time.

Location

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

-f exportBusinessRuleArtifacts.jacl
target_ns
component
user
[-zipf filename]

Required parameters

-f
Specifies the script file to run.
target_ns
Specifies the namespace that contains the business rules and selector components you are exporting.
component
Specifies the component that contains the business rules and selector components you are exporting
user
Specifies the userid with the correct authorization to export the business rules and selector components.

Optional parameter

-zipf filename
Specifies the file name for the compressed file. If you omit this parameter, the default is component.zip.

Example

The following script exports the business rules and selector components from the component named OnlineOrder in the test.oo.brules namespace.

wsadmin -f exportBusinessRuleArtifacts.jacl
	http://test.oo.brules OnlineOrder admin
	-zipf c:/artifacts/onlineorder.zip