BPMSetILOGRulesServerProperties command

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Use the BPMSetILOGRulesServerProperties command to set the connection information to an ILOG® Rules server for a specific snapshot.

The BPMSetILOGRulesServerProperties command is run using the AdminTask object of the wsadmin scripting client. The variables that are updated by this command must already exist.

Prerequisites

Important: In an environment with multiple security domains configured, use the PALService MBean instead of this wsadmin command. See The Process Application LifeCycle (PAL) MBean.
The following conditions must be met:
  • Run the command in the connected mode; that is, do not use the wsadmin -conntype none option.
  • In a network deployment environment, an application cluster member runs the Workflow Server and Workflow Center applications. Therefore, you must run this command on the node that contains that application cluster member. Do not run the command from the deployment manager profile.

Location

Start the wsadmin scripting client from the install_root/bin directory.

Syntax

BPMSetILOGRulesServerProperties
-containerAcronym process_application_acronym
-containerSnapshotAcronym process_application_snapshot_acronym
-serverName server_name
[-hostname hostname]
[-port port_number]

Parameters

-containerAcronym process_application_acronym
A required parameter that identifies the process application acronym. For example, the BillingDispute process application might have an acronym of BILLDISP.
-containerSnapshotAcronym process_application_snapshot_acronym
A required parameter that identifies the process application snapshot acronym.
Note: Use the BPMShowProcessApplication command to obtain process application information, including the snapshot acronym.
-serverName server_name
A required parameter that identifies the server to be updated.
-hostname String
An optional parameter that identifies the hostname of the ILOG Rules server.
-port String
An optional parameter that identifies the port number of the ILOG Rules server.
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 examples first show how to set the ILOG Rules server connection variables on the ILOGRULES_SERVER server. These variables are in a snapshot of the CanadianFinance process application. In the next example, the hostname is updated to toronto. When a property value is set to null, the command does not update the property value. The next example shows the short form of the same example. The last example removes the hostname value. To remove a value, use "" or do not pass a value to the property.

In the example, the user establishes a SOAP connection to the Workflow Center server.

This topic applies only to the IBM Business Automation Workflow Advanced
configuration.
Important: In a network deployment environment, use the port configured for the application cluster member that runs the Workflow Server or Workflow Center applications. To determine the correct port number, see the WebSphere® administrative console Ports collection page (click Servers > Server Types > WebSphere application servers > server_name > Communications > Ports and find the value for SOAP_CONNECTOR_ADDRESS).
wsadmin -conntype SOAP -port 8880 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython

wsadmin>AdminTask.BPMSetILOGRulesServerProperties('[-containerAcronym CANADIANFINANCE -containerSnapshotAcronym V001 -serverName ILOGRULES_SERVER 
-hostname hostname -port 1234]')

wsadmin>AdminTask.BPMSetILOGRulesServerProperties('[-containerAcronym CANADIANFINANCE -containerSnapshotAcronym V001 -serverName ILOGRULES_SERVER 
-hostname toronto -port null]')

wsadmin>AdminTask.BPMSetILOGRulesServerProperties('[-containerAcronym CANADIANFINANCE -containerSnapshotAcronym V001 -serverName ILOGRULES_SERVER 
-hostname toronto]')

wsadmin>AdminTask.BPMSetILOGRulesServerProperties('[-containerAcronym CANADIANFINANCE -containerSnapshotAcronym V001 -serverName ILOGRULES_SERVER 
-hostname ""]')