getApplication takes an Application Name and returns the matching Application Object.
FQN: Is the qualified name of the Application to be retrieved.
A qualified name can include as many Domain names as necessary to uniquely identify the Application. If the Application name is unique within the Domains to which the invoking user has access then no qualification is necessary. Only if there is more than one Application with the same name (in different accessible domains) will it be necessary to qualify the Application name with the domain in which it is located.
1) Retrieve an Application.
set appobject = getApplication("ITGuys");
2) Retrieve an Application specifying the enclosing domain:
set appobject = getApplication("Project1.ITGuys");
getComponent(), getcredential(), getEnvironment(), getserver(), getuser(), getusergroup()