This command lists information about a process application
or toolkit snapshot, or information about the tip if you are not working
with a snapshot.
Purpose
Use the BPMShowSnapshot command
in connected mode from either a Process Center server or a Process
Server to return detailed information about a snapshot or tip, including
any dependencies. In a network deployment environment,
you must run this command on the node containing the application cluster
member that handles Process Server or Process Center applications.
Do not run this command from the deployment manager profile.
Note: If
you are using a SOAP connection, the command can take longer to complete
than the specified SOAP timeout value. Although the command continues
to run until it is finished, you might see the exception java.net.SocketTimeoutException:
Read timed out. To prevent this exception, set a higher
value for the com.ibm.SOAP.requestTimeout property in the profile_root/properties/soap.client.props
file.
Parameters
- -containerAcronym containerAcronym
- A required parameter that identifies the process application or
toolkit acronym. For example, the BillingDispute process application
might have an acronym of BILLDISP.
- -containerSnapshotAcronym containerSnapshotAcronym
- A required parameter that identifies the snapshot acronym. If
you want to see the details for the current tip, use Tip as
the value for this parameter.
- -containerTrackAcronym containerTrackAcronym
- On a Process Center server, a required parameter that identifies
the acronym of the track associated with the process application or
toolkit. Snapshots can have a track if track development is enabled
in the Process Center and is applied for playback on the Process Center
server; by default, the value is Main. Snapshots
installed on a Process Server do not have tracks.
- -showDependents
- An optional parameter that identifies
all dependencies on the specified snapshot. Running this parameter
displays a list of toolkit and process application snapshots that
have dependencies on the snapshot.
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.
Example
The following example illustrates
how to establish a SOAP connection to the Process Center server and
return information about the process application snapshot called BILLDISPSS02
Important: In a network deployment environment,
use the port configured for the application cluster member that runs
the Process Server or Process Center applications. To determine the
correct port number, see the WebSphere administrative console Ports
collection page (click and find the value for SOAP_CONNECTOR_ADDRESS).
- Jython example
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython
AdminTask.BPMShowSnapshot('[-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1 -containerTrackAcronym Main]')
Tip: Add the jython print statement
before the command when you want to see formatted output.
- Jacl example
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin
$AdminTask BPMShowSnapshot {-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1 -containerTrackAcronym Main}
The output looks similar to the following example.
Name: Main - JSActivate
Acronym : MJSA
Created On :2013-09-01 14:05:03.207
Created By :User1
State : State[Archived]
If
you used the
-showDependents parameter, the output
includes information similar to the following example.
Depends on snapshot Main - JSActivate:
Process App Acronym: PA1
Process App Name: PA1
Snapshot Name: PA1S1
Snapshot Acronym: PA1S1
Created On: 2014-02-26 14:25:31.016
Created By: User.2