Skip to main content

FindOrCreateRtId@1

Node FindOrCreateRtId@1 is used to find or create an rtId by querying the asset repository based on the provided query.

Adapter Prerequisites

Node Configuration

transformations:
- type: FindOrCreateRtId@1
ckTypeId: Industry.Basic/Event # The CK type ID of the asset that should be found or created
fieldFilters: # The field filters that should be applied to the query
- path: $.Key # The path to the field in the payload
operator: Equals # The operator that can be used are described in the Field filter operators section
attributeName: RtWellKnownName # The name of the attribute that should be used in the query

Node behavior

If the query leads to a result the RtId will be stored in the $.rtId path in the payload. If no result is found a new RtId is generated.
The '$.modOperation' path in the payload will be set to UpdateKind.Insert or UpdateKind.Update depending on the result of the query.

Field filter operators

The allowed field filter operators can be found here: FieldFilterOperator