Skip to main content

GetRtEntitiesById@1

Node GetRtEntitiesById@1 is used to extract runtime entities by their IDs from the OctoMesh Asset Repository.

Adapter Prerequisites

Node Configuration

For fields path, targetPath, targetValueWriteMode, and targetValueKind, see Overview.

transformations:
- type: GetRtEntitiesById@1
ckTypeId: Industry.Energy/Photovoltaic.Module # Type of the runtime entities
skip: 0 # Number of entities to skip
take: 10 # Number of entities to extract
rtIds: # List of runtime entity IDs
- 5fc8fda18b2fc75f925e21af # ID of the runtime entity
fieldFilters: # Field filters to apply, multiple filters can be applied using the AND operator
- attributeName: state # Field to filter
operator: Equals # Value to filter
comparisonValue: 1 # Comparison value

Operators

The following operators are available for filtering:

OperatorDescriptionSample
EqualsFilters entities where the field value is equal to the comparison value."comparisonValue": "SampleValue"
NotEqualsFilters entities where the field value is not equal to the comparison value."comparisonValue": "SampleValue"
LessThanFilters entities where the field value is less than the comparison value."comparisonValue": 10
LessEqualsThanFilters entities where the field value is less than or equal to the comparison value."comparisonValue": 10
GreaterThanFilters entities where the field value is greater than the comparison value."comparisonValue": 10
GreaterEqualsThanFilters entities where the field value is greater than or equal to the comparison value."comparisonValue": 10
InFilters entities where the field value is in the comparison value."comparisonValue": ["SampleValue1", "SampleValue2"]
NotInFilters entities where the field value is not in the comparison value."comparisonValue": ["SampleValue1", "SampleValue2"]
LikeFilters entities where the field value is like the comparison value."comparisonValue": "SampleValue"
MatchRegExFilters entities where the field value matches the regular expression."comparisonValue": "SampleValue.*"
AnyEqualsFilters entities where any of the field values of an array is equal to the comparison value."comparisonValue": "SampleValue"
MatchMatches documents that contain an array field with at least one element that matches all the specified query criteria."comparisonValue": [ { "attributeName": "sample", "operator": EQUALS, "comparisonValue": "demo"} ]