Tuesday, January 19, 2016

Deactivate the default snapshot for IBM BPM Process App

In IBM BPM, we can deactivate snapshots from ProcessAdmin Console. But if we try to deactivate the snapshot for any process app which is Default then product will not allow it and will give message as below.

This is the default version of this application, and cannot be deactivated.

Still, If you really want to deactivate the default snapshot for any Process App, It can be done using wsadmin BPMDeactivate command with -force option.

For Example -
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython

wsadmin>AdminTask.BPMDeactivate('[-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1 -containerTrackAcronym Main -force]')

Below is the details about BPMDeactivate command. More details can be found at IBM Knowledge Center.

BPMDeactivate command

Syntax
BPMDeactivate 
-containerAcronym process_application_or_toolkit_acronym
-containerSnapshotAcronym snapshot_acronym
-containerTrackAcronym track_acronym
[-force]
[-suspendAllBPDInstances]
[-outputFile file_path]

Parameters

-containerAcronym String
A required parameter that identifies the process application (Process Server and Process Center) or toolkit acronym (Process Center only). For example, the BillingDispute process application might have an acronym of BILLDISP.
-containerTrackAcronym String
An optional parameter that identifies the track associated with the process application or toolkit. The default value is Main.
-containerSnapshotAcronym String
A required parameter that identifies the process application (Process Server and Process Center) or toolkit snapshot acronym (Process Center only).
Tip: You can find the process application acronym on the snapshot page in Process Center or by using the BPMShowProcessApplication command.
-force
An optional parameter that deactivates the default snapshot of the process application or toolkit. Default snapshots are not deactivated unless you include this parameter.
-suspendAllBPDInstances
An optional parameter that suspends all instances associated with the given context instead of letting them continue to run. The instances remain suspended until you resume them.
Restriction: This parameter is not supported when Tip is used as the value for the -containerSnapshotAcronym parameter.
-outputFile file_path
An optional parameter that specifies the file path to write the log messages that result from running the command. The path to the file can be absolute or relative but the directory structure must already exist. If you do not provide this parameter, the message are written to the SystemOut.log file.


For more details, follow below.
http://www-01.ibm.com/support/knowledgecenter/SSFTDH_8.5.6/com.ibm.wbpm.ref.doc/topics/rref_deactivateprocessapplication.html



5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. HI Prakshal,
    Need to connect.

    Do you know if there's any reference document for the tables used in IBM BPM ?

    I have a few queries about User and Group Management in IBM BPM.
    I need to know the relevant tables for User, Groups, Permissions for the user or group, ROle information, etc.

    Let me know if you can help with the same.

    Sagar

    ReplyDelete
  3. Hi Sagar,
    There is not a single ref document for the tables used in IBM BPM. I believe IBM has decided not to release any documentation for same. All you can do is to get understanding with your experience.
    If you have any generic query, I will try to answer them and at same time you can raise a PMR to IBM team and they also provide all necessary help.

    ReplyDelete
  4. I wanted to know where the tasks or actions of an employee are stored?
    E.g. If a user is created and allocated to tw_allusers group. He might be able to do some actions within that group. I need to know where to get these actions.

    ReplyDelete