Bind to value

Defining a hard-coded value that will be used every time the data-flo is run

If the same value will be used every time the data-flo is run, then you can use 'Bind to value' and hard-code that input.

A few of the many use cases:

  • Defining a set of columns to be passed to the next adaptor

  • Naming a column

  • Defining a regular expression (RegEx) to identify specific values

  • Setting a numeric threshold for a filtering adaptor when the threshold doesn't change from day to day

TIP: if you add a bind-to-value and don’t type anything into the box, it assumes you’re binding to an empty value.

How to use 'Bind to value'

  1. Select the argument to bring up Binding Types

  2. Select "Bind to a value" to bring up the VALUE


This image shows "Bind to a value" interface for map, number, boolean, and text arguments.

Regular Expressions

When a wildcard or pattern-matching value is desired, you can use 'Bind to a value' and use a regular expression as the value. In the image above, the search-text adaptor is used with a regular expression to find all instances of a hyphen in the text input.

More about RegEx

Convert "Bind to value" to secret input

Sometimes, you have a value in "bind to a value" you don't want others to see (e.g. passwords and tokens), so you can't share the data-flo as-is. In this case, you need to switch to " Convert to secret input" in the value menu.

Remove binding

When you click the "REMOVE BINDING" button, the argument reverts to its defaults or reverts to blank**.**

If you do not "remove binding" and simply leave the "value" field empty, your argument remains bound to a blank (null,empty) value.

Last updated