Property description

The selectByRelations stream selects the related objects based on the relation type.

Minimal JSON

{
  "key": "",
  "type": "selectByRelations",
  "relationTypeKeys": [ ]
}

Nested properties

PropertyDescriptionValuesMandatory
keyUnique key of the stream.stringYes
typeselectByRelationsstringYes
relationTypeKeysKeys of the relation types that the object participates in, which are used as criteria to filter out related objects.array of stringYes
keepCurrentDetermines whether the automation also selects the current object along with its related objects. For more information, see Keep current example.booleanNo
keepOriginDetermines whether the object ID from which the select started is remembered.booleanNo
objectTypeKeysKeys of object types that can be selected.array of stringsNo

Keep current example

We have the following relations with A being the starting point:

diagram

"keepCurrent": true

  • First automation result: [A, B, C] = We select the object and all its related objects.

"keepCurrent": false

  • First automation result: [B, C] = We discard [A] and only return the related objects [B, C].