Limitations and restrictions
- Transactions
Transactions in a session extension are not supported, except for the Event hooks Before Program, After Program and After Update DB Commit.
- UI
A session extension can add fields to the UI. Other UI actions, such as starting other sessions, is not supported in the hooks that calculate the values. Starting other sessions is supported in the hooks that are available for the session commands. In cloud-ready extensions you can only start own developed sessions in the Extensions package or by a Public Interface.
See Governance
- Queries
You can use queries within the hooks of the session extension to read data from the database. Note that the standard LN application and the extension share the same record buffers. This implies that when the extension reads data from the database into those record buffers, the functionality of the standard LN application may be disturbed. To prevent this, explicit binding of variables must be applied, or the record buffer must be saved before your query is executed and restored afterwards.