Example of an additional1) forwarding of incoming messages to another system with selection by TradingPartner GLN. This variant can, for example, be used in migration scenarios to provide a new system to be set up with messages that enable a pilot operation with selected trading partners.
/SelectionBase/InputMessages[@MessageBoxName='from.Partner' and contains(GetSystemPartnerVariable('dataswitch'), @PartnerGLN)]
This selects the incoming messages in the specified message box2), which have the GLN of the trading partner in the list of GLNs and which are defined in the variable instance „dataswitch“ at the system partner.