Exporting an audit configuration by using the command line

You must export a case management audit configuration from one domain (such as the testing or development environment) before you can move the audit configuration to another domain (such as the production environment). You can use the command line to export one or more audit configurations.

About this task

The exportSolutionAuditManifest command exports audit configuration settings that are associated with a solution to prepare for importing the audit configuration into another IBM® Business Automation Workflow environment. Audit configuration settings are stored in an audit manifest file. You must specify a development environment or production environment profile with this command to provide information about the Content Platform Engine server that contains the audit configuration. You can specify the path for the audit configuration package or omit the value to use the default name and path.

Procedure

To export the audit configuration:

  1. Change the current directory to the install_root/CaseManagement/configure directory. Where install_root is the location where IBM Business Automation Workflow is installed.
  2. Run the following command. Do not enter any line breaks when you enter the command.
    configmgr_cl exportSolutionAuditManifest -profile myprofile 
     -manifestNames manifest_names -manifestPackage manifest_package_file 
     -solutionName solution_name [-silent] [-force] [-help]
    -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.
    -manifestNames manifest_names
    Specifies the name of the audit manifest. To specify more than one manifest at a time, enter multiple -manifestNames options with the command.
    -manifestPackage manifest_package_file
    Specifies the exported audit package ZIP file. You can specify the full path and file name for the exported audit package ZIP file. If the path includes spaces, put the entire path in double quotation marks. For example, enter "C:\Audit Packages\Security1.zip".
    If you specify only the file name, the audit package is exported to the ICM_Home/CaseManagement/configure directory. If you do not specify an option for -manifestPackage, the audit package is exported to ICM_Home/CaseManagement/solution_packages/SolutionName_auditManifest.zip.
    -solutionName solution_name
    Specifies the name of the solution that is associated with the audit configuration.
    -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.

Results

The audit configuration package ZIP file is created in the folder that you specified.

What to do next

Import the audit configuration package into the new environment.