Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

UI Field Name

Description

Specifications

Required

Anchor
type - UMF
type - UMF
type



For JSON only.

Valid values:

  • As String = criterion

  • As String = criteria

Default is criterion.

N

Anchor
criterion - UMF
criterion - UMF
criterion


A single condition composed of name, operator, value(s).

For example:

“attribute1 EQUALS value1“ where attribute1 is a attribute of the selected Universal Event Template.

XML

Expand
titleXML
Code Block
languagetext
<criterion>
    <name>int</name>
    <operator>EQUALS</operator>
    <value>value1</value>
</criterion>

JSON

Expand
titleJSON
Code Block
languagetext
    {
        "type": "criterion",
        "name": "attribute1",
        "operator": "EQUALS",
        "value": "value1"
    },
N

Anchor
criteria - UMF
criteria - UMF
criteria


Composed of multiple elements and a logical operator And or Or.

An element can be a criterion or a inner criteria.

XML

Expand
titleXML
Code Block
languagetext
<criteria>
    <criterion>
        <name>ifield</name>
        <operator>IS_NULL</operator>
    </criterion>
    <criterion>
        <name>bool</name>
        <operator>EQUALS</operator>
        <value>true</value>
    </criterion>
    <logicalOperator>And</logicalOperator>
</criteria>

JSON

Expand
titleJSON
Code Block
languagetext
{
    "type": "criteria",
    "criteria": [
        {
            "type": "criterion",
            "name": "ifield",
            "operator": "IS_NULL"
        },
        {
            "type": "criterion",
            "name": "bool",
            "operator": "EQUALS",
            "value": "true"
        }
    ],
    "logicalOperator": "And"
}

...