Skip to content
Stand with Ukraine flag

Entity Type Filter

Use this node to limit processing to specific entity types. For example, you can place it before a node that only works with devices to ensure asset and customer messages take a different path, or combine it with a False output to explicitly handle messages from unexpected entity types.

FieldRequiredDescription
Entity typesYesOne or more entity types to match against the message originator. At least one must be selected.

Valid entity types include: DEVICE, ASSET, ENTITY_VIEW, CUSTOMER, TENANT, USER, DASHBOARD, RULE_CHAIN, RULE_NODE, EDGE, AI_MODEL, and others.

  1. Check whether the incoming message’s originator entity type is in the configured set.
  2. If it matches, route the message via True.
  3. If it does not match, route the message via False.
ConnectionCondition
TrueThe originator entity type matches one of the configured types.
FalseThe originator entity type does not match any configured type.
FailureAn unexpected error occurred during processing.

Example 1 — Entity type matches → True

Section titled “Example 1 — Entity type matches → True”

Originator entity type: ASSET

{
"originatorTypes": ["ASSET", "DEVICE"]
}

Result: TrueASSET is in the configured set.


Example 2 — Entity type does not match → False

Section titled “Example 2 — Entity type does not match → False”

Originator entity type: TENANT

{
"originatorTypes": ["ASSET", "DEVICE"]
}

Result: FalseTENANT is not in the configured set.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "TbOriginatorTypeFilterNodeConfiguration",
"type": "object",
"required": ["originatorTypes"],
"additionalProperties": false,
"properties": {
"originatorTypes": {
"description": "Non-empty set of originator entity types to check against.",
"type": "array",
"items": { "type": "string" },
"uniqueItems": true,
"minItems": 1
}
}
}