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
Parameter | Required | Description |
---|---|---|
tenantId
| Yes | ID of the tenant to check. |
distributed | No |
If set to Default is |
taskPartsCount | No |
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: Note: This parameter is used only in distributed mode
(
distributed=true ); otherwise, it is
ignored. |
fixInconsistency | No |
The task does not fix a found inconsistency if this parameter is set
to Default is |
fixStartEndObjectCrosswalks | No |
Fix inconsistencies in start/end object crosswalks. Default is |
maxObjectsToStore | No |
This parameter stores a limited number of found relation corruptions. Default is |
consolidateRelationCrosswalk | No | This 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.