When PAPI is initialized, the connected user is authenticated against the data in the directory service. Once authenticated, the Java client using PAPI can interact with any of the engines configured in the directory service.
PAPI must connect to a Process Execution Engine only to search for or operate on process instances and deployed processes. It does not need to connect to an Engine if a request or operation requires only data stored in the Directory Service.
PAPI can connect to one or more engines at a time, provided they are configured in the same directory service. When a client makes a request, PAPI automatically routes this request to the corresponding engine.
