Analysis Agent - Real-Time(4.2)

The configuration dialog consists of the Analysis tab. 

Analysis Tab

The Analysis tab consists of the following settings:


SettingDescription

Code Area

This is the text area where you enter the APL code, used for UDR processing.

You can enter code manually, you can import it, or you can set an import command to access the generic code created in the APL Code Editor. For further information, see APL Code Editor(3.0).

Below the text area there are line, column and position indicators to assist in finding syntax errors.

Compilation Test...

Compiles the code that you enter, to evaluate the validity. The status of the compilation is displayed in a dialog. Upon failure, the erroneous line is highlighted and a message, including the line number, is displayed.

Note!

The more complex code and formats that you enter, the more time it takes to compile.

Outline

Use this button to display or hide the APL Code Editor Outline navigation panel. The navigation panel provides a view of all the blocks, variables and methods in an APL code configuration and makes it possible to easily navigate between different types in the APL code. For further information on the Outline navigation panel, see the section, APL Code Editor Outline, in APL Code Editor(3.0).

UDR Types

Use the Add button to select UDR types. You can select one or more UDR types that the agent expects to receive. 

Note!

If the routing of the UDRs, namely the udrRoute command, is omitted, the outgoing connection point disappears from the dialog, so that you cannot connect to a subsequent agent in the workflow.

Set To Input

Automatically selects the UDR type distributed by the previous agent.


Restrictions and Differences

However, there are some restrictions and differences to consider when you design a real-time workflow configuration compared with a batch configuration:
 

  • Published MIMs can only be of global type.

  • To make functions thread-safe they must be preceded by the keyword synchronized, which makes it possible to alter global variables. It is possible to read global variables from any function block, but to avoid race conditions with functions updating the global variables, they must only be accessed from within synchronized functions. 

  • Synchronized functions cannot use the udrRoute command.

  • You cannot use function blocks related to batch handling.

For further information on specific commands, see APL Reference Guide(3.0).