BPMInstallPackage command
Traditional:
This command installs a process application or case
solution snapshot from Workflow Center to a
workflow server, which involves importing and deploying a process application or case solution to
the workflow server.
Use the BPMInstallPackage command in connected mode from a workflow server to install a snapshot installation package on the workflow server.
The BPMInstallPackage command is run using the AdminTask object of the wsadmin scripting client.
If
the process application contains advanced content, advanced deployment
might complete after the command has successfully returned. Check
the state of the snapshot to verify whether it has been deployed and
check the server logs for errors if the state does not change to active.
Prerequisites
- Run the command in the connected mode; that is,
do not use the wsadmin
-conntype noneoption. - In a network deployment environment, you must run this command on the node containing the application cluster member that handles workflow server applications. Do not run this command from the deployment manager profile.
- You must have write access to the temporary directory where the installation package is stored.
- The installation package must already be created and extracted on the server. After this command is complete, the installed snapshot is active.
Location
Start the wsadmin scripting client from the profile_root/bin directory.
Syntax
BPMInstallPackage
-inputFile input_file_path
-showSnapshotInfo true or false
-inactive true or false
-caseDosName input_dos_name
-caseProjectArea input_project_area
-caseOverwrite true or falseParameters
- -inputFile String
- A required parameter that identifies the absolute path of the offline installation package that you created and extracted on the Workflow Center server and transferred to the offline workflow server.
- -showSnapshotInfo Boolean
- An optional parameter that, when true, has the command return the acronyms of the process application, case solution, track, and snapshot that were installed.
- -inactive Boolean
- An optional parameter that, when true, disables automatic activation of a snapshot after it is deployed.
- -caseDosName String
- The design object store for case artifacts. You must provide the
caseDosName parameter if the deployment package contains a case solution and
the design object store is not named
dos
.
- -caseProjectArea String
- The target environment or project area for case artifacts. You can omit this value if the default project area is defined. you must provide the caseProjectArea parameter if the deployment package contains a case solution and no default project area is configured.
- -caseOverwrite Boolean
- An optional parameter that specifies to overwrite artifacts in the case store if they already exist. The default value is false.
Example
The following example illustrates how to install a snapshot of the BillingDispute process application.
wsadmin -conntype SOAP -port 8880 -host ProcessServer.mycompany.com -user admin -password admin -lang jython
wsadmin>AdminTask.BPMInstallPackage('[-inputFile C:/myProcessApps/BillingDispute.zip -showSnapshotInfo true]')
wsadmin>AdminTask.BPMInstallPackage('[-inputFile C:/myProcessApps/BillingDispute.zip -inactive true]')