Data Structure - Classification And Order
  • 14 Feb 2022
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Data Structure - Classification And Order

  • Dark
    Light

Article summary

Overview

When creating Data Structures there is the potential to group data fields by desirable Classifications and in a custom order.

Example

  1. Begin in the Designer Folder in the Folder Action Panel.
  2. Select CREATE DATATYPES/INTEGRATIONS, and choose Flow Structure in the User Defined Types category.

    1_CreateFlowStructure.png

  3. In the Flow Structure definition window, name the Structure and add a data field named 'First.'
  4. Locate data field options on the right-hand side of the window. In the Display Information section, define Categories, Display Order, and Display Label.

    2_AddFirst.png

  5. Next, set the following options for the ‘First’ data field:
    Name:Explanation:
    Categories ‘Person Info’Developers can define more than one category here. These are the groups for data fields. 
    Display Label ‘First Name’The data field is ‘First’ but this section will define a Label to display this data field in property editors.
    Display Order ‘1’Order to display this data field (0 indexed). 

    3_ConfigFirst.png

  6. Define the data field ‘Last.' 
  7. Provide the same category ‘Person Info.' 
  8. Define the Display Label ‘Last Name.' 
  9. Set display Order ‘0’ (this data field will be displayed before ‘First Name’ in the ‘Person Info’ category).

    4_ConfigLast.png

  10. Define the ‘Email’ data field. For this data field, create the Category ‘Contact Info.'

    5_ConfigEmail.png

  11. Finally, add the data field ‘Phone’ to the ‘Contact Info’ Category. 
  12. Select SAVE to save the Data Structure.

    6_ConfigPhone.png

  13. When an instance is created using this Flow Structure, notice that the data fields are categorized and displayed in the custom order in the Property Editor.

    7_Organized.png


Was this article helpful?