Skip to main content
Feedback

Using Source to Target variables in Logic Flow

A Source to Target Flow variable is a stored value that belongs to a specific Data Flow and is accessed and modified within Logic Flow. To enable dynamic, logic-based workflows, you can pass variables from a Source to a Target Data Flow into a Logic Flow.

Step 1: Create a Data Flow variable

Create the variable in a Source to Target Flow before using the Source to Target Flow variable in a Logic step.

  1. Navigate to the Data Integration Console.
  2. Click the Data Flow tab from the left-hand menu.
  3. Click ADD Data Flow and create your Source to Target or choose an existing Data Flow.
  4. Click the Variables tab.
  5. Enter a variable name and a default value.
note

Selecting the Is Private option for any variable makes it visible only in the Source to Target Flow and unavailable for use in the Logic Flow.

  1. Click Save.

Step 2: Add the Data Flow variable

After creating the variable, you can use it in a Logic Flow.

  1. Click ADD Data Flow and create a Logic Flow or choose an existing one from the list.

  2. Click the + icon to add a Logic step.

  3. Choose the Data Flow option from the Process Type's drop-down.

  4. Choose the Data Flow variables that you want to use from the Input Variables drop-down list.

  5. (Optional) You can set a new value for the variable in this step.

Step 3: Save and run the Logic Flow

After adding the variables to your Logic Flow, click Save and then click Run at the bottom of the Logic Flow.

note

Source to Target variables only support String input values. Complex fields, such as 'Connection names' and 'Schema' are not supported.

On this Page