Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Setting workstep properties : Defining properties of Message worksteps : Using the Messaging tab of Message workstep properties
 

Using the Messaging tab of Message workstep properties

You can use the Messaging tab to subscribe to (or receive) a message from a local or remote server. It initiates an action in the current process template or generates and publishes (or send) a message to a local or remote server and initiates an action in a process in a remote location.
To define a message:
1. Use the Mode box to select the type of messaging: Subscriber or Publisher.
2. Click in the associated Value column, and then to select one of the two options: Publish or Subscribe. Select the appropriate option.
3. If you are in the Publish Mode, a Channel row is shown. Accept the default channel or click in the associated Value column, to open a drop-down list that displays all the previously defined channels. The Channel row is not displayed for Messages in the Subscribe mode since only the BP Server channel can be used to subscribe messages.
Note: If you are in the Publish mode, you can only use remote channels. Local channels, such as the default BP Server channel, cannot be used to publish messages. For more information, see Using theChannel Manager.
4. Use the Handler box to select a handler (optional). In the Handler box, enter a Java class name that you want to use, to perform a specific action on the message.
5. From the Message row, click in the associated Value column and then click to view a drop-down list containing previously defined messages.
Selecting a message displays the Header and the payload sections.
6. In the Header and Payload sections, headers and payloads associated with the message are listed in the left column. Click in each associated Value column to display dataslots that are of the same type and are available in the current process.
*For example, map "orderID" to an available INTEGER dataslot type named “ds1”; or map "vendor" to "VendorName", an available CHARACTER dataslot.
*You can also enter a value by selecting the "<enter value>" option.