setBPMProperty command

Use the setBPMProperty command to set the value of an IBM BPM custom property in the configuration repository.

The setBPMProperty command is run using the AdminTask object of the wsadmin scripting client.

Prerequisites

The following conditions must be met:

  • The command must be run on the deployment manager node.
  • If the deployment manager is stopped, use the wsadmin -conntype none option to run the command in disconnected mode.
  • If the deployment manager is running, you must connect with a user ID that has WebSphere Application Server configurator privileges. Do not use the wsadmin -conntype none option.

Location

Start the wsadmin scripting client from the deployment_manager_profile/bin directory. The setBPMProperty command does not write to a log file, but the wsadmin scripting client always writes a profile_root/logs/wsadmin.traceout log file where you will find exception stack traces and other information.

Syntax

setBPMProperty
-de deployment_environment_name
-name custom_property_name
-value custom_property_value

Parameters

-de deployment_environment_name
A required parameter that specifies the name of the current deployment environment.
-name custom_property_name
A required parameter that specifies the name of an IBM BPM custom property.
-value custom_property_value
A required parameter that specifies the value of the custom property that is specified for the -name parameter. The permitted values depend on the concrete custom property that is being updated. For example, if the parameter has a boolean flag, then the permitted values for the parameter are true and false.

Examples

Note: The examples are for illustrative purposes only. They include variable values and are not meant to be reused as snippets of code.
The following Jython example uses the setBPMProperty command to set the value of an IBM BPM custom property in the configuration repository:
wsadmin -user admin -password admin -lang jython
wsadmin>AdminTask.setBPMProperty(['-de', 'De1', '-name', 'ProcessCenter.BpdAutoTrackingEnabledDefault', '-value', 'true'])