A Message Path is used to interrupt an executing process on delivery of a message from either a client or a control. This allows the process to halt the current stream of execution and take alternate actions. You can have as many message paths as you like in your business process.
Message paths can be associated with individual nodes, a group of nodes, or with the process (global).
Note: Message paths are not supported on the following individual nodes: Perform, Client Response, Control Send, and Control Send with Return.
A Message Path can contain a Client Request or Control Receive node at which it receives the message. For the case in which an On Message path is specified for the process (that is, specified at the Start node) the first node on the path can be a Client Request with Return node.
This section contains the following topics:
You can associate a message path with individual nodes in your business process, with groups of nodes, or with the whole process (global). You create a global message path by adding a message path to the start node of your process.
This section contains the following topics:
A message path is added to your node or group of nodes and is displayed as follows.
You can rename the path anything you like by double-clicking OnMessage and entering the new name. You can also change the name in the name field of the Property Editor.
Note: This option is only available when a Message Path is added to a Start node of a business process.
The node you selected is added as the starting event to your message path. To configure your starting node see, step 6.
The related properties are displayed in the Property Editor. If the Property Editor is not visible in WebLogic Workshop, choose View —> Property Editor from the menu bar.
skip—Skip the node or group with which the message path is associated. That is, resume execution of the process at the node following the node or group for which the path is defined.
resume—Resume execution of the process at the node that was executing when the message was received. The process state returns to what it was before the message path executed and the message port is still active.
When you create message path, the following icon appears beside a node (or group of nodes) in the Design View to indicate that an exception path is activated for the specified node:
You can collapse the view of any message path (or exception handler or timeout path) by clicking the grey arrow of the message path icon. The following figure shows the icon associated with your node to indicate a collapsed path.
You can toggle between collapsed and expanded views of paths in the Design View by clicking the message path icon. |
Warning: Deleting a path deletes any business process nodes you defined on that path. When you attempt to delete a path, a dialog box displays a warning message that you must acknowledge before proceeding with the deletion.
Grouping Nodes in Your Business Process
Writing Custom Java Code in Perform Nodes
![]() |
![]() |