IBM BPM, V8.0.1, All platforms > Reference > Commands and scripts > Business Process Choreographer administrative scripts

setStateObserver.py administrative script

Use the setStateObserver.py administrative script to enable or disable Common Event Infrastructure (CEI), audit events for Business Process Choreographer, or the task history logging for the Human Task Manager.


Location

The setStateObserver.py administrative script is located in the Business Process Choreographer config directory.


Syntax

 -f setStateObserver.py 
     -bfm 
     -cluster  clusterName
     -conntype  NONE
     -enable { CEI |  AuditLog |  TaskHistory}      -disable { CEI |  AuditLog |  TaskHistory}      -htm 
     -node  nodeName
     -profileName  profileName
     -server  serverName


Parameters

-server serverName

The name of the server where Business Process Choreographer is configured. This is required if a cluster is not specified.

-bfm

Optionally specifies that the enabling or disabling is to apply to the Business Flow Manager of Business Process Choreographer, which runs BPEL processes.

-cluster clusterName

The name of the cluster where Business Process Choreographer is configured. This is required if Business Process Choreographer is configured on a cluster.

-conntype NONE

Only include this option if the application server (for stand-alone) or dmgr is not running.

-enable { CEI | AuditLog | TaskHistory}

Optionally specifies whether to enable CEI logging, audit logging, or the Human Task Manager task history. To specify more than one, use a semi-colon as a separator, for example, to enable CEI and audit logging, use -enable CEI;AuditLog. The value TaskHistory is not valid if -bfm is specified.

-disable { CEI | AuditLog | TaskHistory}

Optionally specifies whether to disable CEI logging, audit logging, or the Human Task Manager task history.

-htm

Optionally specifies that the enabling or disabling is to apply to the Business Process Choreographer's Human Task Manager, which runs human tasks.

-node nodeName

The name of the node where Business Process Choreographer is configured. This is optional when specifying the server name. The default is the local node.

-profileName profileName

Where profileName is the name of the profile to use.This value is always default on z/OS .


Examples

The following example shows how to enable CEI logging for BPEL process events on server1: Enter the following command:

wsadmin.sh -f setStateObserver.py -server server1 -enable CEI -bfm

wsadmin.sh -f setStateObserver.py -server server1 -enable CEI -bfm

wsadmin -f setStateObserver.py -server server1 -enable CEI -bfm

Business Process Choreographer administrative scripts