Session Finalization
Element Name: Session Finalization
Category: Programming
Description: This feature allows for unilateral session termination, releasing resources and improving system efficiency.
Functionality: Provides the ability to terminate a session in Lynn.
Action Configuration Fields
When configuring, consider the following parameters:
Reporting Subset (Required):
Name: A unique descriptor to identify the configuration box within the flow. [Finalization Marker]: Logs the termination reason as a label or phrase, which will be recorded for reporting purposes.
Implementation Example
Preconditions:
After completing an action involving a dialogue, the session will be closed, terminating the interaction and releasing memory.
Input:
Name: FinalizeSession Finalization Marker: FinalizedSession
Result: When the session ends, the specified finalization marker will be logged. For example, if the marker name is FinalizedSession, this value will appear in the logs.
Implementation Example
-- Preconditions
After executing the dialogue action, the session will be closed, ending the interaction and freeing memory.
Input:
Name: SessionFinalization
Completion Mark: SessionFinalized
Result:
When the session is closed, the completion mark will be recorded with the defined name. For example, if the mark is FinalizadaSesion, the record will be FinalizadaSesion.