Use the following procedure to attach a script to an integration.
An icon next to a script indicates that the script is attached to this integration. |
The type of script you choose depends on when the script should run.
Script event |
Description |
The script runs once at the start of the integration. |
|
The script runs once at the beginning of each document (record). It runs after the appropriate sources for the document have been read, but before any values in the destination have been set. |
|
The script runs once for each document, after all of the destination fields have been set based on the selected rules, but before the document is actually inserted or updated. |
|
The script runs each time a warning occurs for a document. |
|
The script runs once after each document that has been inserted or updated. |
|
The script runs each time an error occurs for a document. |
|
The script runs once after the entire integration has finished. |
|
The script runs each time an error occurs for the integration process as a whole. |
– or –
Double-click the name of the script.
The Script Editor window opens, where you can write the script.
To remove a script, select the script in the list and click Remove Script. |