Customize the departments import script
For more information, see Departments import script.
Go to Source > Systems.
Edit a source system for the relevant system.
Go to the System tab.
Under Import Scripts, click Departments.
On the left side of the Departments Import dialog box is the script editor. Customize the script here.
On the right side of the Departments Import dialog box is the preview area.
Optional: Click Preview to execute the script as a "dry run", in which the $dryRun variable is set to
true
. Previews include up to the first 4 departments.
To save your changes, click Apply.
The script will run during the next import (see Imports).