Skip to main content
Feedback

Using Source to Target variables in logic river

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

Step 1: Create a river variable

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

  1. Navigate to the Data Integration Console.
  2. Click the River tab from the left-hand menu.
  3. Click ADD River and create your Source to Target or choose an existing river.
  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 River and unavailable for use in the Logic River.

  1. Click Save.

Step 2: Add the river variable

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

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

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

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

  4. Choose the River 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 river

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

note

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

On this Page