Selecting document attributes
Select at least one attribute of the policy’s document. You can use the selected attributes in the policy rule, or the policy conditions.
- On the Attributes tab, click Add to display the Select Attributes window.
-
Expand the tree and select the desired attributes. The selected attributes are displayed in the tooltip of the “Selected” count at the top of the window.
For details on the attribute types you can select, see Attribute types.
- Click OK. The selected attributes are displayed on the Attributes tab.
- Optionally, change the names of the attributes on the Attributes tab. For example, you can specify the name of the document, to which the attributes belong, as a prefix.
-
Optionally, specify filters for selected attributes.
Data elements and attributes that are part of a repetitive structure may require additional filtering to be used in a condition. For example, the Location from the ShipToParty information on a Contract document may 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.Users who create alarms cannot specify filters. If a repeating element is used without a filter, only is first occurrence is used in a comparison condition.To specify filters:
-
On the Attributes tab, add one or more attributes that belong
to a repeating group.
For example:
Contract/ContractHeader/ShipToParty/Location/Address/StreetName
- Select the attribute. The Filter button becomes enabled.
- Click Filter. The Edit Filter window is displayed. The xml-attributes of the selected element and the xml-attributes of its repeating parent elements are displayed.
- Specify the attribute to use for filtering. For example, specify type.
- Click in the Equals Value column and specify a value. For example, specify Office.
- 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
-
On the Attributes tab, add one or more attributes that belong
to a repeating group.
- Click Save.