Enabling and configuring the Federated Data Repository process indexing
Business Automation Workflow can index data about process instances and tasks in the federated data repository.
To enable the Federated Data Repository process indexing, meet the prerequisites and then complete the following configuration on your Business Automation Workflow servers.
Before you begin
Complete configuring the connection to the Federated Data Repository, as described in Configuring the Federated Data Repository connection.
action.auto_create_index
setting. See the specific documentation for Elasticsearch
and OpenSearch
.Configuring Business Automation Workflow to index into the Federated Data Repository
After you configure Business Automation Workflow to communicate with the Federated Data Repository, you can enable and configure the Federated Data Repository process indexing by editing the 100Custom.xml configuration file.
About this task
true as shown in the
following example:<properties>
<server>
<search-index merge="mergeChildren">
<fdr-index-enabled merge="replace">true</fdr-index-enabled>
</search-index>
</server>
</properties>
To tune process indexing, you can define other optional properties. See the properties that you can use to customize the Federated Data Repository process indexing behavior in the following table.
| Property | Description | Default value |
|---|---|---|
| fdr-index-enabled |
A flag that indicates whether the Federated Data Repository indexing is enabled. To benefit from a better performance and a richer set of search
capabilities, it is highly recommended to enable the Federated Data Repository process indexing by
setting <fdr-index-enabled> to
true and disable the
Process Portal search index
by setting <task-index-enabled> to false.
However, keep the following points in mind:
|
false |
| fdr-index-name |
Enables you to define the name of the Federated Data Repository index that stores the documents
about process instances and tasks. The index name is prefixed with
“@”, and the
index alias is named exactly as the <fdr-index-name> value. Important: To prevent the automatic creation of the index in Elasticsearch and OpenSearch,
configure the Federated Data Repository by using the action.auto_create_index
property.
Do not define the fdr-index-name property if you want to federate the Business Automation Workflow system from Process Federation Server that runs as part of Cloud Pak for Business Automation or as part of a stand-alone Business Automation Workflow deployment on containers. |
If this property is not defined, the index name is created using theBusiness Automation Workflow system unique identifier.
For example, “@068e7d66-b043-490e-8ee8-9e92be6c4ce6”. |
| fdr-index-shards | The number of shards to use when you create the Federated Data Repository index. | 3 |
| fdr-index-replicas | The number of replica shards to define for the Federated Data Repository index. This property is only used by Business Automation Workflow when it creates the Federated Data Repository index. To change the number of replica shards on the existing Federated Data Repository index, use the Elasticsearch or OpenSearch API directly. | 2 |
| fdr-index-threads | The number of indexing threads per node. | 1 |
| fdr-index-interval | The minimum interval between two starts of the indexing cycle, in milliseconds. | 1000 |
| fdr-index-house-keeping-interval | The interval between two housekeeping maintenance operations, in minutes. If this value is negative, the housekeeping maintenance operation is not triggered internally, and you must manually run the operation on a regular basis instead. | 60 |
| fdr-index-house-keeping-audit-max-age | The maximum age (in minutes) of indexing audit entries to keep (to not delete) on a housekeeping maintenance operation. | 10080 (equals to 7 days) |
| fdr-index-house-keeping-record-max-age | The maximum number of maintenance operation records of each type to keep (to not delete) on a housekeeping maintenance operation. | 50 |
| fdr-index-batch-size | The maximum size of indexing queue entries to process on a single indexing cycle. | 1000 |
| fdr-index-deletion-batch-size | The maximum number of rows to delete when a maintenance operation requires row deletions. For example, during a housekeeping maintenance operation. | 50000 |
| fdr-index-reconciliation-batch-size | The maximum number of discrepancies to identify on each cycle of the
“reconcile” maintenance operation. |
500 |
| fdr-index-failure-threshold | Specifies how many times a failed operation such as the creation, update, or deletion of a
document in the Federated Data Repository index can be tried again. When the number of retries
reaches the threshold, the operation request remains in the queue but is ignored by the indexer. To
attempt processing the queue entry again, you must execute the "retry-failures"
maintenance operation. |
20 |