Unify and manage your data

Relations Start End Objects Consistency Check Task

This task checks if any relations in the tenant are pointing to improper objects or have crosswalks which have incorrect associations with the start/end object contributors.

This task checks (based on some internal data and logic) if any relations in the tenant are pointing to improper objects or have crosswalks which have incorrect associations with the start/end object contributors. If all crosswalks in the relation are pointing to an invalid start/end object, then the relation is re-pointed. If only part of the crosswalks are pointing to invalid objects, then the relation is splitted, and the needed crosswalks are moved to the correct relation (existing or new).

Stop and Pause are supported.

Requests

Tenant admin role is required:

POST {ApplicationURL}/api/{tenantId}/relationsStartEndObjectsConsistencyCheck
Table 1. Parameters
Parameter Required Description
tenantId Yes ID of the tenant to check.
distributedNo

If set to true, the task runs in distributed mode (see details in Distributed Mode).

Default is false.

taskPartsCountNo

Number of tasks which are created for distributed mode. Each task processes its own part of objects. All of the objects may be executed on different API nodes in parallel.

Recommended value: count of API nodes which can execute the tasks.

Default: 2.

Note: This parameter is used only in distributed mode (distributed=true); otherwise, it is ignored.
fixInconsistencyNo

The task does not fix a found inconsistency if this parameter is set to false.

Default is false.

fixStartEndObjectCrosswalksNo

Fix inconsistencies in start/end object crosswalks.

Default is false.

maxObjectsToStoreNo

This parameter stores a limited number of found relation corruptions.

Default is 100.

consolidateRelationCrosswalkNoThis parameter enables crosswalk consolidation for a specific relationship type or all relationship types in the tenant, ensuring only the most recent crosswalk entry from the same contributor is retained. This value can be true or false, and defaults to false.

Body (optional)

JSON Array of entity and/or relation URIs to be checked.