Era.Common.DataDefinition.Trigger.EventLogTrigger

Description

Event log based trigger configuration.

Properties

Name JsonSchemaType Description
filter reference to Era.Common.DataDefinition.Filter.CompositeFilter Optional filter which will be applied to the log. If set, tick is generated only if the filter is true.
Only [logicOperator] and [expressions] fields are supported inside the CompositeFilter.
It is not allowed to use [combinedFilter] in the CompositeFilter (reserved for possible extensions in the future).
logType integer Type of the EVENT log to react to. Status logs are not supported.
skipMutedDevices boolean Determines whether devices marked as muted can activate this trigger.
staticGroupUuids array of string Uuids of the tracked static groups.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Trigger.ClientTriggerConfiguration
Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Trigger.EventLogTrigger",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Trigger.EventLogTrigger"
    ],
    "properties": {
        "Era.Common.DataDefinition.Trigger.EventLogTrigger": {
            "$ref": "#/definitions/EventLogTrigger"
        }
    },
    "definitions": {
        "EventLogTrigger": {
            "additionalProperties": false,
            "required": [
                "logType"
            ],
            "type": "object",
            "properties": {
                "filter": {
                    "$ref": "Era.Common.DataDefinition.Filter.CompositeFilter#/definitions/CompositeFilter"
                },
                "logType": {
                    "type": "integer"
                },
                "skipMutedDevices": {
                    "type": "boolean"
                },
                "staticGroupUuids": {
                    "type": "array",
                    "items": [
                        {
                            "type": "string"
                        }
                    ]
                }
            }
        }
    }
}