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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions