Configuring Pipelines for Various System Functions¶
Pipelines are intended for editing standard chains of operations with data. The settings are made in the “Pipelines” section by a user who has system administrator rights.
Before you start:
You need to create new account with system administrator rights.
The setup of the execution threads directly affects basic system functions. All of the main pipelines are included in the official Unidata build.
In the “Pipelines” section of the system administrator interface, create the pipeline of relation reindexing:
Select start segment: [RELATION_UPSERT_START].
Add two segments of Point type: [RELATION_UPSERT_TIMELINE] and [RELATION_UPSERT_INDEXING].
Select finish segment: [RELATION_UPSERT_FINISH].
In the “Operations” section, create an operation to reindex data and turn on the “Reindex relations” checkbox.
Run the operation and wait for its execution.
See the description of the segments in the main creating/updating relation pipeline example.
Figure 1. Reindexing operation
Data Matching While Saving Record Changes¶
In the “System Parameters” section of the system administrator interface, enable the “Real-time matching” chekbox in the Data matching settings block.
In the “Pipelines” section of the system administrator interface, create the pipeline for matching data when saving changes:
Select start segment: [RECORD_UPSERT_START].
Add a segment of the Connector type: [RECORD_UPSERT_MATCHING_CONNECTOR] .
Select finish segment: [RECORD_UPSERT_FINISH].
Configure matching mechanisms in the following sequence: Create matching tables → Create matching rules → Create rule sets → Assign rules to entity/lookup entity.
View results in the “Duplicates”section.
See the description of the segments in the examples of main data matching pipelines.
Figure 2. System Parameters
Figure 3. Duplicates
Publishing Record Draft According to Workflows¶
In the “Libraries” section, download .jar file with the service task and process listener implementations.
In the “Workflows” section, add an event executor using previously downloaded library.
In the “Pipelines” section of the system administrator interface, create the pipeline of the record draft publishing:
Select start segment: [RECORD_DRAFT_PUBLISH_START].
Add a segment of the Selector type: [RECORD_DRAFT_PUBLISH_WORKFLOW_SELECTOR].
Select finish segment: [RECORD_DRAFT_PUBLISH_FINISH].
For a description of the segments, see the record draft publishing pipeline.
Figure 4. Adding service task to process diagram