Creating Defined Data Structures
  • 30 Sep 2022
  • 1 Minute to read
  • Dark
    Light

Creating Defined Data Structures

  • Dark
    Light

Article summary


Data Structure Quick Summary
Complexity?Performance Impact?Saves to Database?Configuration Folder?Entity Framework?Folder Behavior?Process Tracking?
HighLowCan decide if stored or notYesNoNoNo

A Defined Data Structure (DDS) allows users to define another data type as a Superclass. This causes the DDS to inherit fields from the Superclass.

Example

  1. In a Designer Project, click CREATE DATATYPES/INTEGRATION on the top Action Bar.
  2. In the Defined Data Structure window, enter a name for the structure and defined the data fields for the data structure. The Defined Data Structure can be configured to be database stored by configuring the Storage Option setting. This would cause Decisions to generate Flow steps under the USER DEFINED TYPES category in the ToolBox panel.
  3. Click on the name of the structure to view the Defined Data Structure's settings. Set the Storage Option field to DatabaseStored. 
    Saving and Deleting Database Stored DDS
    If deleting a database stored DDS, ensure to delete its table as well in the database to prevent clutter. If wishing to create another databased stored DDS of the same name without deleting this table, a validation error will occur to prevent creation since the same-named table already exists. 


Create Defined Data Structure Settings

Setting NameDescription
Hide In SearchHides the data type from appearing when being searched
Storage OptionSpecifies where the data structure will be stored
Type Name SpaceCreates the unique identifier for the Entity (namespace.typename) to generate the SQL table name for the Entity (namespace_typename)
Super ClassSpecifies the class to inherit traits from. The input is case sensitive and is formatted as [Type Name Space].[Struture Type Name] 
Category OrderAllows data field categories to be organized in a certain way. For example, grouping required data fields together
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

Lookup List CategorySpecifies the category for the Lookup List



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

Was this article helpful?