article by Rohit Dhamija, April 2021

 

Event handler is a new feature in Oracle Digital Assistant 21.02 and later that provides an event driven mechanism to execute custom logic in the context of resolving a composite bag entity. The custom logic you implement may include custom validations, customized prompts and disambiguation messages, or access to remote REST services for querying and updating data.

Very soon we will publish two new tutorials about entity event handlers on our product documentation page. Until then, this article will get you started. What you will learn following the instructions in this article is how to create an event handler and how to use the custom component SDK to render prompts as card layouts.

You will also notice how using event handlers, you can add advanced functionality to the ResolveEntities component. 

Read full article (PDF)

Download Source Files

Download starter Skill (zip)

Download final implementation (Skill – ZIP)

Learn about Composite Bag Entity (Video)

Oracle Digital Assistant Design Camp: Model Driven Conversations

Related Content

TechExchange Quick-Tip: Understanding Oracle Digital Assistant Skill Entity Properties – Or, What Does "Fuzzy Match" Do?

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

TechExchange: How to configure a bag item in a composite bag entity as optional

TechExchange Quick-Tip: Setting Composite Bag Entity Item Values From A Custom Component

TechExchange: Establish a Conversational Parent-Child Relationship Using Value List Entities in Oracle Digital Assistant

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

 

Author