Dynamically Creating Entity Data Structures
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Dynamically Creating Entity Data Structures

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.4.0
Root FolderExample Lab - Creating Data Structures
Modules None
DependenciesNone

This Example Lab project demonstrates how to dynamically create an entity data structure based on the data fields of a parent entity.


Explanation

This project works by using an original entity data structure and all of its data fields as a basis for creating a new entity. By running the Flow "Create New Entity" the first step will get the data from the parent Entity "EmployeeDetails" and this information will be passed into a Form. In the Form, the user can then input a name for the new Entity and select from the list of data fields that exists in "EmployeeDetails" which items to be added to the new Entity. Once these selections have been made the Flow will create a list that will store all of the selected data fields and use a ForEach step to add each item to that list. That list will then be used by the Create Data Step to create the new entity with the desired data fields.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.4.0 or later using our Importing/Exporting article.





Was this article helpful?