Data Structure - Classification And Order
  • Updated on 21 Aug 2017
  • 1 minute to read
  • Print
  • Dark
    Light

Data Structure - Classification And Order

  • Print
  • Dark
    Light

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.
2018-01-02_152042.png

2018-01-02_152226.png

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.
2018-01-02_152732.png

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).

2018-01-02_153002.png

Then, we define anotherData 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).
2018-01-02_154215.png

Next, we define ‘Email’ Data Member . For this Data Member we create another Category ‘Contact Info’ .
2018-01-02_161149.png

Finally, we add the Data Member ‘Phone’ to the ‘Contact Info’ Category .
Click Ok to save Data Structure.
2018-01-02_161716.png

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 theProperty Editor.
2018-01-02_162437.png

Was this article helpful?