Add an event handler to a Form activity

Event handlers are activity sequences that are triggered by a specific event. They allow a workflow to run logic when the events occur while the form is active.

Before you begin

Note: External Events, a Create Event activity, or a form event must be defined in order to add an event handler.
Activities can be inserted at both the workflow and subprocess levels.

Procedure

  1. In the navigator, click Workflow > Workflows.
  2. In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow. For more information, see Add a resource to the wokflow model.
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. Drag and drop a Local Subprocess into the workflow and double-click it, or double-click an existing subprocess.
  6. Select the Form activity and then, on the activity configuration panel, click Add Event Handler.
    The Select Event dialog box appears.
  7. Click the Activities, Subprocess, or Workflow tab, select an event, and then click OK.
  8. Click OK.