User may create a listener for the specified event type and jobflow (or all jobflows in sandbox). The listener is actually connection between jobflow event and task, where jobflow event specifies when and task specifies what to do.
Event handling consist of the following course of actions:
event is created
listeners for this event are notified
each listener performs the related task