AfterCheckInS

Script applications called from this interface are used to perform further actions after a new version has been checked in on the server.

Example: automatically send an email to all users whom you wish to inform that a new version is available on the server

Errors that occur at the start of or during the execution of the script application do not influence the Check-In process. The checked in data is not changed. The error is logged in the Eventlog module in the AdminClient.

 

Command lines for this script application

Without agents:

ScriptAfterCheckInS.exe /ConfigFileW:[absolute path to the interface file] /rd:[path to the server archive] /at:s

With agents:

ScriptAfterCheckInS.exe /ConfigFileW:[absolute path to the interface file] /rd:[path to the agent archive] /at:s

 

Description of the interface file

The sections [Common], [User] and [Component] are described in Global interface file sections.

[Version{N}]

This section contains information about the checked in versions. For each version a section (for example, [Version31] or [Version32]) is created. The keys of this section are described in Global interface file sections.

[Specific]

INI key I/O Description
SyncType I

Describes how the Check-In is synchronized. The following values are possible:

0: No synchronization

1: Synchronization between two main servers

2: Synchronization between two parallel servers

3: Synchronization between a BackupClient and a server (main or parallel server)

4: Synchronization between a backup server and a server (main or parallel server)

5: Synchronization between a mobile server and a server (main or parallel server)

If this key is not available, the default value 0 is given.

MovedFromDir I

Original path to the component, in cases where this path was moved before Check-In occurred

If the component was not moved this key will not be given.

ChangedFromCompTypeId I

ID of the original component type of the component, in cases where the type was changed before Check-In occurred

If the type of component was not changed, this key will be given.

Deleted I

Displays whether the script application was executed when the component was deleted

If the key has the value Y the master data keys of the component will not be given.

If the component was not deleted the key will not be given.

 

[ClientInformation]

INI key I/O Description
ComputerName I

The computer name and the domain of the computer from which the Check-Out was carried out.

IPAddress I Computer name and, if applicable, the associated domain of the computer from which the check-in was carried out.

 

[Result]

The general keys of this section are described in Global interface file sections.

INI key I/O Description
Done O

Display whether the script application should be displayed as completed in case of error

Y: The script application is displayed as completed when an error occurs. The system will not attempt to continue execute the script application.

N: The script application will not be displayed as completed in the event of an error and will continue to be executed.

The default value is N.

 

Related topics

Global interface file sections