Set Up Event Handlers

The fetch actions sent to a connector are asynchronous. Asynchronous actions do not run immediately, but are added to a queue. This means that the person or application that sends the action does not receive an immediate response. However, you can configure the connector to call an event handler when an asynchronous action starts, finishes, or encounters an error.

You can use an event handler to:

The connector can call an event handler for the following events:

OnStart The OnStart event is called when the connector starts processing an asynchronous action.
OnFinish The OnFinish event is called when the connector successfully finishes processing an asynchronous action.
OnError The OnError event is called when an asynchronous action fails and cannot continue.