This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

exportBusinessRuleArtifacts.jacl script

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
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.

Draft comment:
Need a Prerequisites section. Does this command run in connected or not connected mode? If it runs in connected mode, include security role information. Make clear if the role is a BPM or WAS role. For a wsadmin command that runs in connected mode, you must specify the user and password parameters in the syntax and example.

Location

Draft comment:
Is this correct?

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

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

-zipffilename
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