exportSolution command
The exportSolution command exports a solution or a solution template to a solution package to prepare for importing the solution or template to another IBM® Business Automation Workflow environment.
Syntax
The following syntax includes line
breaks to format the command for reading. Enter the command and options
on a single line without any line breaks.
configmgr_cl exportSolution -profile myprofile
-solutionName solution_name | -solutionTemplateName template_name
-solutionPackage package_file
[-silent] [-force] [-help]Parameters
- -profile myprofile
- Specifies the profile to use. The myprofile value can be one of the following items:
- The name of the profile, such as develop1. The profile is located in the install_root/CaseManagement/configure/profiles directory. install_root is the location where IBM Business Automation Workflow is installed.
- The full path to the profile directory, such as "install_root\CaseManagement\configure\profiles\develop1" or /install_root/CaseManagement/configure/profiles/develop1.
- The full path to the profile input file, such as "install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp" or /install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp.
- -solutionName solution_name
- Specifies the solution to export. You can omit this option if you are exporting a solution template.
- -solutionTemplateName template_name
- Specifies the solution template to export. You can omit this option if you are exporting a solution.
- -solutionPackage package_file
- Specifies the full path and file name for the exported solution package ZIP file. If the path includes spaces, put the entire path in double quotation marks. For example, enter "C:\Solution Packages\Credit Dispute Solution.zip".
- -silent
- Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
- -force
- Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
- -help
- Optional: Shows a brief message on the command syntax instead of running the command.
Sample commands
The following examples include
line breaks to format the command for reading. Enter the command and
options on a single line without any line breaks.
- Export a solution package.
- The following command exports the Solution1 solution in the MyDevelop1
profile to the Solution1.zip file:
configmgr_cl exportSolution -profile myDevelop1 -solutionName Solution1 -solutionPackage "C:\Program Files (x86)\IBM\CaseManagement\solution_packages\Solution1.zip" - Export a solution template package.
- The following command exports the Template1 solution template
in the MyDevelop1 profile to the Template1.zip file:
configmgr_cl exportSolution -profile myDevelop1 -solutionTemplateName Template1 -solutionPackage "C:\Program Files (x86)\IBM\CaseManagement\solution_packages\Template1.zip" - Show the help for the exportSolution command.
- The following command shows the help for the exportSolution command:
configmgr_cl exportSolution -help