Creating an event handler for the Application API

Example process - Write data record

For you to be able to trigger a workflow through an API endpoint, it must start with a generic event handler. When creating the generic event handler, you must select the Java class en.uplanet.lucy.server.workflow.eventhandler.UserWorkflowEventHandler.

Step-by-step guide

  1. Start the "Processes" module.

  2. Drag the "Generic event handler" onto the workspace.

  3. Double-click on the "Generic event handler".

    The "Generic event handler" dialog is displayed.

  4. Make the corresponding entries.

    Detailed information on this can be found in section Event handler - General properties.

  5. Click on "Next".

    The dialog step for selecting the Java class appears.

  6. In the selection list, select the entry en.uplanet.lucy.server.workflow.eventhandler.UserWorkflowEventHandlerfrom the selection list.

  7. Click on "OK".

    You will be returned to the workspace.