Variables overview

There are 4 different ways to define variable values in Floe:

  1. Pass Variable table into the API when calling it
  2. Pass Form data into the API when calling it
  3. Determine Variable names and values in the Email Data User-Exit
  4. Determine Variable values in a Variable Routine

1. Pass Variable table into the API when calling it

With this option the variable data is already known at the time of calling the API.

Load the Variables table import parameter with the required variables and values before triggering the function.

Example 

2. Pass Form data into the API when calling it

This is used for FLM integration.  The form fields passed into the API are converted automatically into Floe variables.

Example

3. Determine Variable names and values in the Email Data User-Exit

Variables can be added or changed in the Email Data User-Exit.  Typically a database selection will be made based on an object reference in the IM_DOCUMENT External Document Reference parameter, and the results used to fill the variables.

Example

4. Determine Variable values in a Variable Routine

Variables can be defined globally in Variable Routines and then used in any Email Type without any User-Exit code.

This is useful for variables that are used in several Email Types and for formatting.

Example