Generating a Data Form via Structure
- 14 Feb 2022
- 1 Minute to read
- Print
- DarkLight
This documentation version is deprecated, please click here for the latest version.
Generating a Data Form via Structure
- Updated on 14 Feb 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
A Form can be auto-generated and include fields from a Data Structure.
Example
In this example, a Form will be created based on the fields in a Data Structure. A Flow will display the Form for user input.
- In the Designer Folder, click CREATE DATATYPES/INTEGRATION and select Flow Structure.
- 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). Then, click SAVE.
- Right-click on the Flow Structure and click Generate Data Form.
- On the Create Form window, under Layout Style, select GridLabelLeft.
- For the Cancel Outcome Name field, enter "Cancel". Then, click GENERATE DATA FORM.
- In the Designer Project, click CREATE FLOW from the bottom action panel and select Flow.
- Name the Flow [Generating Data Form via Structure Flow] and click CREATE.
- In the Flow Designer, add a Show Form step to the Done path of the Start step.
- Click Pick or Create Form and pick the existing Form that was created (PersonForm).
- With the step selected, click the Unknown input mapping under the Inputs category and select Build Data.
- Connect the Ok path and Cancel path to the End step. Click Save to save changes to the Flow.
Debug
- On the top action bar, click Debug. Then, the Flow will run successfully.
When the Debugger runs, the auto-generated Form will appear for user input.
Was this article helpful?