Merging Data Pairs Using the NVelocity Merge Raw Step

1 From a Designer Project in Decisions Studio, select CREATE FLOW from the Global Action Bar, then CREATE a new Flow.
2 From the Flow Designer, navigate to Toolbox > DATA > DATA PAIR, attach a CreateString Data Pair step to the Start step.
3 Select the Create String Data Pair step to navigate to its Properties. Then under INPUTS, Constant map the desired Name; then Constant map "This is a" to the Value Input.
4 Attach an additional Create String Data Pair step to the Done path of the previously added one.
5 From the Properties of the newly added step, Constant map the desired Name, then Constant map "Custom Merge step." to Value.
6 From Toolbox > DATA > TEXT, attach a Custom Merge Raw [NVelocity] step, to the Done path of the second Create String Data Pair step and the End step.
7 From the Properties of the Custom Merge Raw step, set Parameters to Build Array. Then, Select From Flow map CreateStringDataPair1_Output to Item 0.
8 From the Properties tab for the Custom Merge step, under INPUTS > Parameters, click ADD. Then, map CreateStringDataPair2_Output to Item 1.
9 From the Template Input, Constant map the desired value utilizing a combination of text input and "$[nameofdatapair]" to define where the Data Pairs exist in the Template. For this example, map "$[firstDataPairName] test of the $[secondDataPairName]" to the Template Input.
10 Save the Flow, then if desired close via X.
from: https://documentation.decisions.com/v9/docs/merging-data-pairs-using-the-nvelocity-merge-raw-step
Howdy, Stranger!
Categories
- 4.4K All Categories
- 78 General
- 13 Training
- 209 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 709 Forms
- 345 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 186 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions