Visual Basic

The CallAPIInterface de programmation pouvant être exécutée en direct ou à partir d'un autre programme, afin d'exécuter un Script dans le système AE. can be used to process scripts in the AE system from your own VB programs.

This function is found in the COM object AE.Call3 which must be registered.

Example: regsvr32 c:\AUTOMIC\callapi\windows\bin\ucxbwi3c.dll

The delivery directory contains a sample program that provides a detailed description of how a scriptEgalement un type d'objet distinct dans l'Automation Engine. activation can be implemented.

General

  1. Scripts are always activated with the following steps:
    1. Log on to the AE system.
    2. Transfer the script to the AE system.
    3. Log off from the AE system.

You can log on to several AE systems at the same time and process various scripts. In this case, a Dialog license is used for each connection.

Methods

In your program, you can use the functions listed below. They supply return code 0 if the action"Voir ""Action en cas de non-respect (AWI Service Orchestrator)""." was successful, or a message number if an error occurred.

Description

Method

Logging on to the AE system

LogonclientEnvironnement indépendant pour la création et l'exécution d'objets dans un système AE. Le nom d'un client est un nombre de quatre chiffres à saisir lors de la connexion d'un utilisateur au système AE. Les utilisateurs et leurs droits y sont aussi définis.Egalement un type d'objet distinct dans l'Automation Engine., user, [department, [password]]

Specifying INI file

SetIniFile path and name of INI file

Logging on using INI-file data

LogonAsDefault

Activating a script

ActivateScript script

Logging off the AE system

Logoff

Attributes

Information about script execution is automatically stored in variables.

Data type

VariableEnregistre ou fournit les valeurs dynamiques de l'exécution. Egalement un type d'objet distinct dans Automation Engine.

Description

Long

lRunNr

RunIDAbréviation du numéro d'identification unique. Il s'agit plus précisément d'un nombre qui identifie clairement l'exécution d'une Tâche. Le RunID peut comporter entre 7 et 10 caractères . Ils sont attribués par le composant Automation Engine. of the script

Long

lRetCode

Return code of script execution

String

cRetText

Variable message part which explains the return code value

See also:

About the CallAPI