Indicates this functionality was introduced in fixpack 8.0.1.2

BPMSetDefaultSnapshot command

Use the BPMSetDefaultSnapshot command to designate a default snapshot on IBM® Process Server. The command is available in this version only if you have installed fix pack 2 or a later fix pack.

Purpose

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.

Parameters

-containerAcronym containerAcronym
A required parameter that identifies the process application acronym. For example, the BillingDispute process application might have an acronym of BILLDISP.
-containerSnapshotAcronym containerSnapshotAcronym
A required parameter that identifies the process application snapshot acronym.
Tip: If you do not know the acronym for a required parameter, use the BPMShowProcessApplication command to list the details of a process application, including acronyms.

Examples

The following examples illustrate 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.

Important: In a network deployment environment, use the port that is configured for the application cluster member that runs the Process Server applications. To determine the correct port number, see the administrative console Ports collection page (click Servers > Server Types > WebSphere application servers > server_name > Communications > Ports and find the value for SOAP_CONNECTOR_ADDRESS).
  • Jython example
    wsadmin -conntype SOAP -port 8880 -host ProcessServer01.mycompany.com -user admin -password admin -lang jython
    
    AdminTask.BPMSetDefaultSnapshot('[-containerAcronym BILLDISP -containerSnapshotAcronym SS8.5.5]')
  • Jacl example
    wsadmin -conntype SOAP -port 8880 -host ProcessServer01.mycompany.com -user admin -password admin
    
    $AdminTask BPMSetDefaultSnapshot {-containerAcronym BILLDISP -containerSnapshotAcronym SS8.5.5}