Pre/Post-Scripts
One script can be called before a Connector for Top Secret function executes and another script (or the same one) can be called after the Connector for Top Secret function executes. The scripts are referred to as:
-
Pre-script – This script is run immediately before the Connector for Top Secret function executes.
-
Post-script – This script is run immediately after the Connector for Top Secret function executes.
The Connector for Top Secret execution of the functions is as follows:
-
If a pre-script is specified and should be executed, the Connector for Top Secret invokes it. Otherwise, execution of the Connector for Top Secret function begins from step 3.
-
The return code of the pre-script is checked. If the script has returned SKIP or FATAL, the Connector for Top Secret does not invoke the functions and execution skips to step 4.
-
If the Connector for Top Secret function is to be invoked, it is called.
-
If a post-script is specified and should be executed, the Connector for Top Secret invokes it, regardless of the return codes from the pre-script and the actual Connector for Top Secret function.
-
The final return code is the return code of the last item (Pre/Post-script or actual Connector for Top Secret) that was executed.
-
If both of the following conditions are satisfied:
-
The Connector function is an ADD or UPDATE function.
-
A GET post-script is specified for the object and should be executed.
Connector for Top Secret invokes the GET post-script after invoking any ADD or UPDATE Pre/Post-scripts required by the function. This is done to synchronize the Managed System database with the SailPoint database.
-