- Under the Integration tab, click on the Restriction tab.
- The Restriction will automatically be set to return true, which means that every record in the source will run.
![Restriction window](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/63c5b3a7d1b15dedaaf9a320_RestrictionWindow.png)
- 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.
NOTE: this._Name is a Source Column, every Source Column and Global Variable will have the (this.) prefix.
![Restriction window edited](https://linuxeqa.eonesolutions.com/wp-content/uploads/2023/09/63c5b4114771c4ca55d04ff9_RestrictionEdited.png)