article by Rohit Dhamija, April 2021
 

Entity Event Handler (EEH) is a new feature in Oracle Digital Assistant since version 21.02 that allows you to execute JavaScript in the context of resolving a composite bag entity. EEH gives digital assistant developer more control over how a composite bag entity resolves and also help reducing the amount of BotML code to write in dialog flows.

The trinity of composite bag entities, entity event handlers and the System.ResolveEntities component will soon become the new "normal" when developing dialog processes in the Oracle Digital Assistant. This is reason enough to highlight another entity event handler feature, which is the ability to query or write to REST services at any time while resolving a composite bag entity.

Update: July 2022

The content of the article became available as a tutorial. See Creating an Entity Event handler on the Oracle Digital Assistant product page

Related Content

Creating an Entity Event Handler (Beginner Tutorial)

Creating an Entity Event Handler with the Bots Node SDK (Advanced)

TechExchange Quick-Tip: Export And Import Entity Event Handler For Editing In External IDE Or For Installing Additional Node Modules

TechExchange: Building your first entity event handler for Oracle Digital Assistant

TechExchange Quick-Tip: How to Intelligently Cancel Composite Bag Entity Driven User Dialog Flows

TechExchange: Building Model Driven Questionnaire Conversations Using Composite Bag Entities in Oracle Digital Assistant

Author