resetContext - Cognigy Documentation
Syntax
resetContext()
Description
Resets the Context object to the default Context of the active Flow. This action removes all custom keys and values that were added during the conversation. Returns: void
Example
// Clear all current context data and reset to default context
resetContext();