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

exportBusinessRuleArtifacts.jacl script

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

Purpose

The exportBusinessRuleArtifacts.jacl script allows you to export business rules and selector components from a cluster or server 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.

Syntax


>>-wsadmin-- -f-- - exportBusinessRuleArtifacts.jacl------------>

>-- target_ns-- component-- user--+-------------------+--------><
                                  '- -zipf-- filename-'   


Parameters

target_ns

A mandatory parameter that specifies the namespace that contains the business rules and selector components you are exporting.

component

A mandatory parameter that specifies the component that contains the business rules and selector components you are exporting

user

A mandatory parameter that specifies the userid with the correct authorization to export the business rules and selector components.

-zipf filename

An optional parameter that 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

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