The AEM forms
Server provides an event framework that enables business events to
be defined.
Events
provide processes with a mechanism for
interacting with the event framework.
Events are represented on process diagrams as circle-shaped icons.
Routes can be drawn from events to other elements on the process
diagram so that the occurrence of the event alters the progression
of the process.
You can use Asynchronous, Timer, and Exception events types.
Each event type is either a service-defined event or a custom event.
When adding a custom event to a process diagram, select an event
that is located in the current application or in another application.
The other application can be either local or remote. To use custom
events from remote applications, the applications must be deployed
on the AEM forms Server.
Processes can receive notifications about events that occur during
process execution. You can configure the conditions to respond to
for each notification you receive. Processes can throw events to
provide notifications to other processes about an occurrence in
the process. As part of sending a notification, you can send specific
details about the event or include additional data.
You can also use events to catch errors that occur on the server
upon process execution, handle situational errors, and to insert
time-based execution constraints on operations. Events can also
be used to pass information from process to process using a pre-defined
data schema.