Returns for the current document the message as Input- and OutputMessage in the SelectionBase structure (s. List of SelectionBase paths). Use this mapping function to test the MessageSelector function.
Note: This function should be used only for testing MessageSelector.
GetMessageAsSelectionBase(['input'|'output'])
in/output (optional): If the parameter start with “in” or “out” only the InputMessages e.g. OutputMessages are set.
GetMessageAsSelectionBase()/SelectionBase/InputMessages[contains(@Subject,'desadv')]
GetMessageAsSelectionBase()/SelectionBase/InputMessages[ count(Attachments) = 0]
GetMessageAsSelectionBase('input')/SelectionBase/InputMessages[UCase(Documents/@DocType) = 'DESADV']
GetMessageAsSelectionBase('in')/SelectionBase/InputMessages[UCase(Documents/@DocType) = 'DESADV']/Documents/@DocNumber
GetMessageAsSelectionBase('output')/SelectionBase/OutputMessages[Match(Documents/EntityType/@Name, '.*Desadv.*D96') ]
GetMessageAsSelectionBase('out')/SelectionBase/OutputMessages [Match(Documents/EntityType/@Name, '.*Desadv.*D96') ]/Documents/@DocNumber
GetMessageAsSelectionBase()/SelectionBase/InputMessages[contains(Attachments/@Filename,'INVREC-')]