Use the Schedule script dialog box to insert a script. The script you insert is executed when the action occurs in a process. This value can be a constant or variable value.
To insert a mapped field, right-click in the text box or click Insert field mapping, select the mapped field, and click Insert.
Using fields to insert variables is recommended, so you always have a unique value and avoid duplicate records, which can cause errors.
For more information, see "Fields".