Use Workflow or Customer List Variables in JUEL Expressions | Vantage CX - Using Workflow or Customer List Variables in JUEL Expressions - Vantage Customer Experience

Vantage Customer Experience User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Vantage Customer Experience
Release Number
1.6
Published
October 2023
Language
English (United States)
Last Update
2023-10-26
dita:mapPath
hbt1563223944614.ditamap
dita:ditavalPath
oyf1565965838286.ditaval
dita:id
tmo1562969305444
Product Category
Teradata Applications

Two-Integer Variable Example

This example includes two Integer variables in a workflow or customer list (VarInt1=20 , VarInt2=3). The following options to use JUEL expressions are used in a workflow node or customer list node parameters:
  • "${VarInt1} + ${VarInt2}" returns the string "20 + 3"

    ${VarInt1} and ${VarInt2} are replaced with actual workflow or customer list variable values but NO arithmetic calculation is completed. The result is a string with replaced values.

  • "${VarInt1 + VarInt2}" returns calculated value "23"

    The variables resolve to values and calculation on values is completed. The result is the calculated value.

The following can be used in applicable node parameters based on business needs for the corresponding workflow or customer list node:
  • The JUEL expression that returns a string with the replaced workflow or customer list variables.
  • The JUEL expression that returns a calculated value.

The input parameter in Stored Procedure or Macro nodes requires a calculated value. This means a JUEL expression in a Formula input parameter must return a value such as "${VarInt1 + VarInt2}" (returns the calculated value of "23").