Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Application management : Retrieving applications
 

Retrieving applications

The following APIs can be used to retrieve the existing applications:
*Application.getList(session);
This returns all the Applications currently available in the system as an ArrayList containing Application SVOs.
*Application.get(session, appName);
This returns the Application SVO with the AppName which is passed on as its application name. If there is no application with the name passed, then an exception is raised.
*Application.isExist(session, appName);
This returns "true" if an application with the name passed exists. If it does not exist, then it returns "false".
At any time there is only one ProcessTemplate active for an Application. All the previous versions of the ProcessTemplates are internally deprecated.