Data model
In the Data Model, you can add new key-pair values, which enables you to use shortcuts when adding new keys using the UI Designer, without having to switch back and forth between menus.
Attributes type
The Data Model supports the following attribute types:
- STRING
- NUMBER
- BOOLEAN
- OBJECT
- ARRAY
- ARRAY OF STRINGS
- ARRAY OF NUMBERS
- ARRAY OF BOOLEANS
- ARRAY OF OBJECTS
- ARRAY OF ENUMS
- ENUM
When you export or import a process definition, the data model will be included.
Data model reference
You can use data model reference feature to view attribute usage within the data model. You can now easily see where a specific attribute is being used by accessing the “View References” feature. This feature provides a list of process keys associated with each attribute and displays possible references, such as UI Elements.
For UI Elements, the references include the element label, node name, and UI Element key. Additionally, the context of the reference is provided, showing the node name and the UI element type along with its label. Users can conveniently navigate to the context by clicking the provided link to the node’s UI page.
Sensitive data
To protect your data and your customer’s data, you can hide data that could be visible in the process details or in the browser’s console. You can now also secret data for a specific key.
Reporting
The Use in Reporting tag is used for keys that will be used further in the reporting plugin.
Reporting
Generating data model
A data model can be generated using data values from a process instance. This can be done by either merging the data model with an existing one or replacing it entirely.
To generate a data model, follow these steps:
- Open FlowX.AI Designer.
- Go to the Definitions tab and select the desired process definition.
- Select the Data Model tab and then click Generate data model button.
- Add the process instance of the process from which you want to generate the data model.
- Choose whether to replace the existing data model or merge it with the new one.
- Click the Load Data button to display the data model body.
- Finally, click Save button to save the generated data model.
By generating a data model, you can ensure that your data is structured and organized in a way that is appropriate for your business needs. It can also help you to identify any inconsistencies or errors in the data, allowing you to correct them before they cause problems down the line.
Was this page helpful?