Extend and tune your flow configuration > Message handler > Set up message-processing actions

Set up message-processing actions

To set up message-processing actions:

  1. From the menu bar click Processing configuration.
  2. At the top of the Processing configuration page, in the navigation graphic, click either of the Message handler icons.

Setting up message actions can be a two-step process:

Related topics

Define message attributes

Message attributes are name-value pairs whose values are extracted from messages through parsing or have fixed values. Activator can parse only XML messages, but attributes with fixed values can apply to EDI, XML or binary documents.

For example, you can have the system parse certain XML messages for values of an attribute named POAmount. Or, you can instruct the system to apply an attribute named SupplyChain with a fixed value of Retail to certain messages.

You can define attributes to be active only when certain conditions occur. This lets you customize attributes to a high degree of specificity.

Defining attributes is optional. Attributes you define are in addition to default attributes. The following are the names of default attributes displayed in the user interface. These are not the internal technical names.

Any attributes that display after Virtual file user data have been added in addition to the defaults. One way to add or delete attributes is to select System management > Manage message attributes.

Related topic

Define conditions

From the pool of available attributes, you select an attribute and also an operator and a value. This serves as the trigger of the action. For example, you could specify that an action triggers when:

Sender ID
(attribute)

equals
(operator)

Community A
(value)

You also can set up an action that compares the value of one attribute to the value of another attribute. For example, suppose you want to reject inbound messages when the sender ID parsed from the payload is not the same as the sender ID in the message protocol envelope. To do this, you could create an attribute named ParsedSenderId whose value is parsed from XML documents. Then you would set up an action to reject messages that meet the following two conditions. Note that the Is Receipt condition is needed to make sure the action applies only to inbound messages, but not outbound receipts.

1.

ParsedSenderId
(attribute)

not equal
(operator)

Sender routing ID
(attribute)

2.

AND
Is Receipt = false

 

 

You can set up multiple conditions, all of which must be met for an action to trigger.

The following defines operators. Not all of these are available for all attributes.

Note The operators starts with, ends with and contains are available only with these attributes: Consumption file name and Production file name.

In addition to equals and not equal, there are the following related operators whose purpose is self explanatory: greater than, less than, greater than or equal and less than or equal.

Related topic