Creating a Reorder process

The Reorder process is used to order messages in IEC based on a sequence number found in the message payload.
Note: There must be only one Reorder process in an agreement. The Reorder process should always be at the top in the Processes list.

In the Reorder process, messages are added to an internal reorder queue and rearranged based on the sequence number. Only messages in the reorder queue are rearranged. The message is held for at least 120 seconds in the reorder queue before it is released and added to the traditional Order Queue wherein the sequence is already fixed.

  1. Click the Processes tab.
  2. Click + and select Reorder.
  3. Specify this information:
    Reorder Queue
    Specify a name for the reorder queue. You can specify a maximum of 256 characters.
    Namespace URI and Prefix
    Optionally, click + in the Namespaces section to add valid namespace URIs and their prefixes.
    XPath
    Click + in the Document ID section to add document IDs. You can also arrange the order of the document IDs by clicking Move Up and Move Down.
    The Reorder process XPath supports these formats:
    • To select elements at a specific level: /root/elementName
    • To select elements with a specific attribute value: /root/elementName[@attributeName='value']
    • To select elements using a relative path: //elementName
    • To select the first occurrence of an element: //elementName[1] or to select the second occurrence: //elementName[2]
    • To retrieve the text content of an element: //elementName/text() -
    • To retrieve using a predicate path or a path with a condition: //elementName[condition]/subElementName
    Note: Only the first match is returned in any of the given examples.
    Sequence Number XPath
    Optionally, specify a valid XPath for the sequence number of the document ID. You can specify a maximum of 256 characters.
  4. Click Add.