Non-relational data storage
🌐 This document is available in both English and Ukrainian. Use the language toggle in the top right corner to switch between versions. |
1. Overview
The Business processes management subsystem uses a distributed in-memory Redis database from the Non-relational databases management subsystem to store intermediate data generated by business processes and data required for building UI forms in user portals.
2. Data structures
2.1. bpm-form-submissions
Provides storage for data entered by users through UI forms, digital signatures, and data obtained as input parameters for business processes from external systems.
The bpm-form-submissions key contains a set of unique keys, which stores data as a hash table with individual keys prefixed with bpm-form-submissions. |
bpm-form-submissions:process/{processInstanceId}/task/{taskDefinitionKey}
bpm-form-submissions:process-definition/{processDefinitionKey}/start-form/{UUID}
bpm-form-submissions:lowcode_{rootProcessInstanceId}_{processInstanceId}_system_signature_ceph_key
bpm-form-submissions:lowcode_{processInstanceId}_system_signature_ceph_key_{index}"
Key | Data type | Description |
---|---|---|
|
String |
Unique ID |
|
String |
JWT user token |
|
String (JSON) |
Data |
|
String |
Digital signature |
2.2. bpm-message-payloads
Provides storage for data provided as input parameters with messages for initiating business processes.
The bpm-message-payloads key contains a set of unique keys, which stores data as a hash table with individual keys prefixed with bpm-message-payloads. |
bpm-message-payloads:process-definition/{processDefinitionKey}/start-message/{UUID}
Key | Data type | Description |
---|---|---|
|
String |
Unique ID |
|
String (JSON) |
Input parameter data (message body) |
2.3. bpm-form-schemas
Provides storage for UI form structure descriptions in JSON format compatible with Form.io.
The data is stored in the form of a hash table with objects segregation at the level of ID prefixes (<keyspace>:<key>). |
bpm-form-schemas:{formKey}
Key | Data type | Description |
---|---|---|
|
String |
Unique ID of the UI form |
|
String (JSON) |
UI form structure description in JSON format |