Create Type From Data

1 In a Designer Project and select CREATE FLOW from the top Action bar. Select Flow, provide a Name, then click CREATE.

2 Click SETUP INPUT DATA, then click DEFINE.

3 Under NAME, enter "EmployeeName" as a String [Text]. Click the pencil icon and enter "Sam Thomson" as a Constant mapping. Enter "EmployeeEmail" under NAME as a String [Text] and Constant map in "example@company.com". Click Save and close the window.

4 Attach a Create Data step to the Show Form step and the End step from the FAVORITE STEPS category of the Toolbox panel.

5 On the Properties panel, click SHOW EDITOR under Data To Create.

6 From the Data Definitions window, click Create Type. Enter "Company" under Data Name. Click CREATE.

7 Provide the Data Name, "Company", then click CREATE. 

8 Select Edit Type.

9 Define two String [Text] Types for EmployeeEmail and EmployeeName, then click SAVE.

10 Under Input, click Edit, then change the mapping for Company to Build DataSelect From Flow Employee Email and Employee Name to their corresponding Input. 

11 CLOSE twice to leave the Data Definitions window. 

12 Save the Flow, then if desired, close via X.

from: https://documentation.decisions.com/v9/docs/create-type-from-data

Sign In or Register to comment.