Due to scheduled maintenance, some areas of our site are currently inaccessible. Thank you for your patience.

Please reach out to sales@eonesolutions.com with any questions.

Using a Restriction

Using a Restriction

  1. Under the Integration tab, click on the Restriction tab.
  2. The Restriction will automatically be set to return true, which means that every record in the source will run.
  3. Edit the restriction script to restrict out records from the source data.
    • Return true – Means that the record will run to the destination.
    • Return false – Means the record will be restricted from running to the destination
    • The Source Columns and Global Variables sections can be expanded and contain columns and variables, respectively, that can be used in the restriction script. You can drag and drop the columns or variables into the script.
    • Below is an example of a restriction script. This script will run for each record and if this._Name is equal to Test, then that record will be restricted out, otherwise the record will send to the destination.

this._Name is a Source Column, every Source Column and Global Variable will have the (this.) prefix.

Restriction window edited
//Restrict out records that have the name Test
if (this._Name == "Test") {
  return false;
} else {
  return true;
}

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

Reset Filters