Skip to main content

GetRtEntitiesByType@1

Node GetRtEntitiesByType@1 is used to extract runtime entities by type from the OctoMesh Asset Repository.

Adapter Prerequisites

Node Configuration

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

transformations:
- type: GetRtEntitiesByType@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
fieldFilters: # Field filters to apply, multiple filters can be applied using the AND operator
- attributeName: manufacturer # Field to filter
operator: Equals # Value to filter
comparisonValue: "SunPower" # 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"} ]