Variables in Workflows - Teradata Analytic Apps - Vantage Analyst

Vantage Analyst with Machine Learning Engine User Guide

Product
Teradata Analytic Apps
Vantage Analyst
Release Number
1.1
Published
December 2019
Language
English (United States)
Last Update
2020-08-06
dita:mapPath
ezh1551894635141.ditamap
dita:ditavalPath
wsp1565965728073.ditaval
dita:id
B035-3805
lifecycle
previous
Product Category
Teradata Vantageā„¢

Several types of variables can be used in the Workflows module.

Variable Type Where Created Where Used
Global Global variables module
  • Rules
  • Workflows
Rule Map and Calculate step in the Rules module
  • Rules
  • Workflows
System-defined (Workflow) N/A: Listed in the Formula Builder (Map and Calculate step in the Rules module) Rules
Variable Names
  • Spaces should not be used in variable names, however, you can use the underscore character.
  • Rule variables and workflow-level variables can have the same name.
  • Global variable names must be unique.
Global Variables

Global variables are system-wide variables that have their values populated during workflow execution and relate to the state of that workflow and its tasks. You cannot override the values.

Rule Variables
Rule variables are added to a rule at the Map and Calculate step (see Mappings and Calculations). Use the Formula Builder to create rule variables. You can add variables after a rule is created by accessing the Rule summary page (select a rule for editing).
System-Defined Variables

System-level variables are predefined and give users access to Workflows module information such as workflow ID. They can also be used in the Notify node and as assignments to other variables in the workflow.

Workflow-Level Variables
Add workflow-level variables to allow the system to read values from data sources (using Select rules or output parameters in a stored procedure). You can use these variables for a number of purposes, for example:
  • Direct workflow execution paths using conditional expressions
  • Pass to variables in sub-workflows and rules
  • Pass as input parameters to Stored Procedure and Macro nodes
  • Use in calculations in Variable nodes