Inhaltsverzeichnis

MessageSelector

The jobstep MessageSelector selects messages, which property according to gem. Function arguments1).

Name Meaning
TypeType of the job step.
NameName of the job step that will appear in the job designer
DescriptionOptional description for the job step.
ExpressionFunction whose result returns true or false. All messages on which the function applies are selected from the incoming message box (Inbox, SelectionBase / InputMessages).The message structure (SelectionBase) is often required to formulate conditions.
Log XPath callsIf activated, the values evaluated by the „XPath expression“ are output when the debug log is active.

The outgoing connectors of the MessageSelector have different effects:

Note: see also Evaluation or filtering of messages in jobs

Hinweis: You can test the expression using Mapping Function GetMessageAsSelectionBase.

Samples:

Note: The most important distinction is the path / SelectionBase / InputMessages and / SelectionBase / OutputMessages. Messages that are generated within a job with the MessageCreator are selected in the same job with / SelectionBase / OutputMessages and all messages sent to a job with / SelectionBase / InputMessages. All message properties2) that contain the message object can be used within the function. You will get a list of these attributes if you create a new mapping using the map editor and select the eBiss.ClassLib.MessageSelector.Selectionbase3 as the source object.

Cascading of selectors

It is possible to use the messageselectors cascaded. A second selection stage is followed by a further MessageSelector. The messages of the first selection are filtered again by a second selection.

Important: The cascaded MessageSelector (second selection stage) now has the / SelectionBase / SelectedMessages available as MessageListen selection.

The following JobSteps are usually connected to the MessageSelector