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:
Operator | Description | Sample |
---|---|---|
Equals | Filters entities where the field value is equal to the comparison value. | "comparisonValue": "SampleValue" |
NotEquals | Filters entities where the field value is not equal to the comparison value. | "comparisonValue": "SampleValue" |
LessThan | Filters entities where the field value is less than the comparison value. | "comparisonValue": 10 |
LessEqualsThan | Filters entities where the field value is less than or equal to the comparison value. | "comparisonValue": 10 |
GreaterThan | Filters entities where the field value is greater than the comparison value. | "comparisonValue": 10 |
GreaterEqualsThan | Filters entities where the field value is greater than or equal to the comparison value. | "comparisonValue": 10 |
In | Filters entities where the field value is in the comparison value. | "comparisonValue": ["SampleValue1", "SampleValue2"] |
NotIn | Filters entities where the field value is not in the comparison value. | "comparisonValue": ["SampleValue1", "SampleValue2"] |
Like | Filters entities where the field value is like the comparison value. | "comparisonValue": "SampleValue" |
MatchRegEx | Filters entities where the field value matches the regular expression. | "comparisonValue": "SampleValue.*" |
AnyEquals | Filters entities where any of the field values of an array is equal to the comparison value. | "comparisonValue": "SampleValue" |
Match | Matches 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"} ] |