BPMSetDefaultSnapshot command
Use the BPMSetDefaultSnapshot command to designate a default snapshot on IBM® Process Server.
On Process Server, the first snapshot you install is considered the default version. The items within that snapshot run when an event or other trigger that applies to more than one version of a process or service is received. When you install subsequent snapshots, you can use the Make Default Version option in Process Admin Console to ensure the snapshot you want to run is the default.
The BPMSetDefaultSnapshot command is run using the AdminTask object of the wsadmin scripting client.
Prerequisites
- Run the command in the connected mode, that is, do not use the wsadmin -conntype none option.
Location
Start the wsadmin scripting client from the profile_root/bin directory.
Syntax
BPMSetDefaultSnapshot
-containerAcronym process_application_acronym
-containerSnapshotAcronym process_application_snapshot_acronym
Parameters
- -containerAcronym process_application_acronym
- A required parameter that identifies the process application acronym. For example, the BillingDispute process application might have an acronym of BILLDISP.
- -containerSnapshotAcronym process_application_snapshot_acronym
- A required parameter that identifies the process application snapshot acronym.
Example
The following example illustrates how to set a snapshot of the BillingDispute process application as the default snapshot. In the example, the user establishes a SOAP connection to the Process Server.
wsadmin -conntype SOAP -port 8880 -host ProcessServer01.mycompany.com -user admin -password admin -lang jython
wsadmin>AdminTask.BPMSetDefaultSnapshot('[-containerAcronym BILLDISP -containerSnapshotAcronym SS8.5.5]')