Specifying filters for selected attributes

Data elements and attributes that are part of a repetitive structure can require additional filtering to be used in a condition. For example, the Location from the ShipToParty information on a Contract document can exist several times. To specify which Location address details must be used in the condition evaluation, add a filter on the attribute Type of the Location element.

  1. On the Attributes tab, add one or more attributes that belong to a repeating group. For example: Contract/ContractHeader/ShipToParty/Location/Address/StreetName.
  2. Select the attribute. The Filter button becomes enabled.
  3. Click Filter to display the Edit Filter window.
    The xml-attributes of the selected element and the xml-attributes of its repeating parent elements are displayed.
  4. Specify the attribute to use for filtering. For example, specify type.
  5. Click in the Equals Value column and specify a value. For example, specify Office.
  6. Click OK.
    The path of the monitor attribute has now been updated with the filter condition. For example: Contract/ContractHeader/ShipToParty/Location/Address[@type=”Office”]/StreetName.

    There are some limitations when filtering the standard Infor BODs PulseTask and PulseNotification.

    Each BOD contains, among others, these sections:

    • Parameters = name/value pairs with types such as string, integer, etc. Each parameter has a Parameter/@sequence attribute that can be used for filtering.
    • TreeParameters = structures with nested levels and several fields per level.

    If the BOD contains both sections, for example the workflow task contains parameters and structure, then you cannot filter by Parameter/@sequence.