Dialog processes are a special form of work processes (DWP). They functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… in the same way as work processes but are exclusively used for UserInterfaceThis is the Automation Engine's graphical user interface. [Formerly called the "Rich Client", "RichGUI" and "Dialog Client."] messages.
Performance can be negatively affected if the primary work processIt is responsible for the execution of Automation Engine-internal tasks and work processes. has to deal with complex queries or huge data amounts. Automic recommends converting a particular number of work processes to dialog processes. You can either do so manually in the System OverviewThe UserInterface window that contains information about the Automation Engine system. using scriptA particular Automation Engine object type. elements or by defining a default value in the system-wide settings.
A server processThe core of the component Automation Engine. Different types are available: communication, work and dialog processes, as well as nonstop processes. that has a Server role cannot be converted to a dialog processA part of the Automation Engine component and a special form of work process. Is exclusively responsible for UserInterface messages.. This means that the primary work process plus at least two work processes must be active before a dialog process is available.
When the last dialog process has been ended, work processes process UserInterface messages. Therefore, an AE system can also operate without dialog processes.
The System Overview lists all server processes of the AE system. Work processes can be converted to dialog processes from this overview using the corresponding popup-menu command. This does not include the primary work process.
The symbol and type "D" identify
dialog processes.
You can also define a default value in order to control the number of work processes (WPs). This is done in the AE variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. UC_SYSTEM_SETTINGS using the key WP_MIN_NUMBER. A "node name" and the minimum number of work processes must be specified in the variable's content. The exceeding number of work processes are converted to dialog processes.
Note that this does not affect the primary work process (PWP).
The name that has been selected as the "node name" must also be defined in the Automation EngineThis component drives an Automation Engine system and consists of different types of server processes.'s INI file by using a parameter of the same name. Define one "node name" per computer if the Server processes have been allocated to several computers. If the same "node name" is used in several INI files, it is valid system-wide on a networked basis. The following example serves to illustrate details:
Example:
The server processes of an AE system are shared between two computers. Each computer has 3 work processes. The "node name" in the INI files of the two Automation Engines is set to "UC4GLOBAL" so that both computers have the same settings. Add the following entry to the variable UC_SYSTEM_SETTINGS in order to ensure that there are at least two work processes:
Key |
Value |
---|---|
WP_MIN_NUMBER |
UC4GLOBAL=2 |
One of the three work processes is converted to a dialog process if all of them are active.
If different minimum numbers of work processes are used for the two computers, the content of the variable must be adapted as shown below:
Key |
Value |
---|---|
WP_MIN_NUMBER |
UC4_1=2;UC4_2=1 |
Note that you must also specify the terms "UC4_1" and "UC4_2" in the Automation Engines' INI files.
The script statement :SET_UC_SETTING can be used to convert a work processA part of the component Automation Engine. It is responsible for an Automation Engine system's processes (see also 'Primary work process'). to a dialog process and vice versa.
See also:
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |