Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The menu items that are specific to APL Code Editor are described in the following table: 

Option

Button

Description

Edit

Edits the entered APL code.

New

Creates a new APL code entry.

Open

Opens the list of saved APL code entries.

Save As

Opens the Save As dialog box where you can save the APL code entry. You must enter the mandatory parameters to save the entry. Specify the Folder by using the Browse button and navigating to the destination, then confirm the selection by pressing the OK button. Specify the APL code name in the Name field and you can type an optional Version Comment. 

Image Removed
Image Added

Save As Dialog Box

Permissions

View/edit the APL code permissions.

Image Modified

Permissions Dialog Box

References

View the External References available for the APL code entry.

History 

View the version history for the APL code entry.

Help

Open the online documentation. 

The generic code is imported by adding the following code in the agent code area, using the import keyword:

...

Since function overloading is not supported, make sure not to import functions with equal names, since this causes the APL code to become invalid, even if the functions are located in different APL modules. This also applies if the functions have different input parameters, for example, a(int x) and a(string x).

Note

Note!

Not all functions work in a generic environment, for example, functions related to specific workflows or MIM-related functions. This type of functionality must be included in the agent code area instead.

Info

Example - An APL code definition

An APL code definition, saved as MyGenericCode in the Default directory, is available to an agent by adding the following into its code area:

Code Block
languagetextthemeEclipse
import apl.Default.MyGenericCode;

...