Generating a Data Structure Form
  • 14 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Generating a Data Structure Form

  • Dark
    Light

Article Summary

A Form can be auto-generated to include fields from a Data Structure. This quickens build time while ensuring no missing data fields during data submission.

Example

  1. In the Designer Project, click CREATE DATATYPES/INTEGRATION and select Flow Structure.
  2. In the Flow Structure window, enter a name in the Structure Type Name field and create two String [Text] data fields (FirstName, LastName) and one Int32 (Number) data field (Age). Click SAVE.
  3. Right-click on the Flow Structure and click Generate Form.
  4. In the Create Form window, select GridLabelLeft under Layout Style. For the Cancel Outcome Name field, enter "Cancel". Click GENERATE FORM.
  5. In the Designer Project, click CREATE FLOW to create a new Flow
  6. Attach a Show Form step to the Start step. On the Properties panel, click PICK OR CREATE FORM and pick the existing Form that was created "PersonStructureForForm Form". With the step selected, click Unknown next to the input field and select Build Data.
  7. Connect the Ok path and Cancel path to the End step. Click Save to save changes to the Flow.

Debug

  1. On the top action bar, click Debug
  2. Click START DEBUGGING. 
  3. When the Debugger runs, the auto-generated Form will appear for user input.

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

Was this article helpful?