Creating a Database Structure
  • 25 May 2022
  • 1 Minute to read
  • Dark
    Light

Creating a Database Structure

  • Dark
    Light

Article Summary

Overview

Data Structure Quick Summary
Complexity?Performance Impact?Saves to Database?Configuration Folder?Entity Framework?Folder Behavior?Process Tracking?
LowLowYesYes, but not by defaultYesNoNo

A Database Structure defines an object that is stored in a database. The Database Structure exists only in the database, not in the Portal like an Entity or Folder Extension. The Database Structure can still be reported on and can have actions built into it if the Configuration Folder is turned on.

Default Text Length
The default setting for all text stored in the database is 255 characters; however, this can be modified.

Example

  1. In a Designer Project, select Create Datatypes/Integration and select Database Structure.
  2. In the Database Structure window, enter a name in the Structure Type Name. Define the data members and their respective types. Click SAVE.
    Batch Load setting
    When enabled, this setting creates the data type as a database-stored data type with an additional table that is the copy of the main table. By populating the copy table with data and then merging that data into the other, real tables on the database, it allows for efficient storage and use of large sets of data.



Database Structure Creation Settings

Setting NameDescription
ADVANCED

Enable Caching

Enables the Entity to be loaded into the cache


Hide In SearchHides the data type from appearing when being searched

Include ID In Flow Cache KeyAdds the GUID to the Cache Step Key for easier searching

Type Name SpaceCreates the unique identifier for the Entity (namespace.typename) to generate the SQL table name for the Entity (namespace_typename)

Audit ChangesSaves changes to Entity data in the Audited Entities table. This option is used when data monitoring is required for this Entity

Category OrderAllows data field categories to be organized by the Designer

Enable Batch LoadAllows some batch inserting actions to be taken on the back end

Can Be Base TypeAllows the created type to be used as a super-class for sub-classes

Include Type Name In DescriptionThis enables or disables the visibility of the Type namespace

Is Lookup ListSpecifies if the data will be a Lookup List
ACTIONS

Enable ActionsAllows actions to be used

For further information on Data Structures, visit the Decisions Forum.

Was this article helpful?