Create Data Pairs
![WestOderman](https://community.decisions.com/applications/dashboard/design/images/defaulticon.png)
1 In a Designer Project, create a Flow via the CREATE FLOW button.
2 Under the top Action bar, select the SETUP INPUT DATA button, click DEFINE, then define the Input Data.
3 Create two String Inputs, one called Age, and one PersonName.
4 Save the Input Data, then close it via the X button.
5 Attach a Create Data step from the Toolbox tab on the left, to the Done path of the Start step.
6 With the step selected, click SHOW EDITOR in the Properties tab to add the variables.
7 Provide a Name and search for and select DataPair [DecisionsFramework.ServiceLayer.Services.ContextData] from the Type selector.
8 The example below makes a Data Pair List (check the "Is List" checkbox to make it a List).
9 Under Input, click Edit to map in values. Select Build Array to build out each Data Pair in the list.
10 Under each Item, use a Build Data mapping to expose the each part of the Data Pair.
11 For the Name fields, use Constants and input "Name" and "Age".
12 On the Output Value fields, Select Form Flow map in the Start step values to their respective fields.
13 CLOSE the Data Definitions window to save changes and return to the Flow Designer.
14 Connect the Done path from the Create Data step to the End step. Save the Flow, then close (X) if desired.
from: https://documentation.decisions.com/v9/docs/create-data-pairs
Howdy, Stranger!
Categories
- 4K All Categories
- 52 General
- 197 Installation / Setup
- 1.1K Flows
- 105 Rules
- 250 Administration
- 211 Portal
- 486 General Q & A
- 685 Forms
- 328 Reports
- 3 Designer Extensions
- 46 Example Flows
- 50 CSS Examples
- 1 Diagram Tile
- 6 Javascript Controls
- 170 Pages
- 4 Process Mining
- New Features
- 174 Datastructures
- 68 Repository
- 210 Integrations
- 27 Multi-Tenant
- 27 SDK
- 72 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 34 Lunch And Learn Questions