Data Structure – Classification And Order

Last Updated: 04/10/2018 Introduced in Version: 4.0

This tutorial demonstrates how to create custom Property Classifications and Orders when creating Defined Data Structure in Decisions.

When we create Defined Data Structure in Decisions we can group Data Members by desirable Classifications and in custom order.

Example:

We begin in the Designer Folder with creating simple Defined Data Structure (Flow Structure). Click Datatypes/Integrations > User Defined Types > Flow Structure on Folder Actions Panel.

In the Flow Structure definition window we Name our Structure and add a Data Member (First).

Locate Data Member options on the right-hand side of the window.

In the Display Information section we can define Categories, Display Order, and Display Label.

 

Next, we are going to set these options for the ‘First’ Data Member:

  • Categories ‘Person Info’ – we can define more than one Category here. These are our groups for Data Members.
  • Display Label ‘First Name’ – our Data Member is ‘First’ but we can define a Label to display this Data Member in property editors.
  • Display Order ‘1’ – order to display this Data Member (0 indexed).

 

Then, we define another Data Member ‘Last’. Provide same category ‘Person Info’, define Display Label ‘Last Name’, and Display Order ‘0’ (this Data Member will be displayed before ‘First Name’ in ‘Person Info’ category).

 

Next, we define ‘Email’ Data Member. For this Data Member we create another Category ‘Contact Info’.

Finally, we add the Data Member ‘Phone’ to the ‘Contact Info’ Category.

Click Ok to save Data Structure.

If we create an instance of this Data Structure in Flow, we should see that Data Members are Categorized and displayed in our custom order in the Property Editor.