Skip to main content
Feedback

Using Source to Target variables in logic river

A Source to Target River variable is a stored value belonging to a specific River that can be accessed and modified within Logic Rivers. To dynamically drive 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 choose Source to Target or choose an existing Source to Target.
  4. Create your Source to Target River.
  5. Click the Variables tab.
  6. Enter a variables name and a default value.
note

Selecting the Is Private option for any variable will make 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

Once the variable is created, you can use it in a Logic River.

  1. Click ADD River and choose Logic River or 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