initializePackages
initializePackages() updating;
The initializePackages method of the Process class calls the
Normally, if you run an application from the schema, these are executed automatically. However, they are not executed when a JadeScript or a Workspace method is executed unless you call the initializePackages event method. (This maintains these interfaces in as light a weight as possible.) This also applies for a RootSchema application running in a user schema if package initialization has been disabled. For details, see the
If your schema contains packages and you run a JadeScript or a Workspace method and you do not call this event, the imported packages application initialize event methods are not called and methods such as the Process class getAllApps method can therefore not return information about packages.
See also the Process class finalizePackages method.