Add End Event

The end event is the last step in a process that ends the process flow.

Perform the following steps::

  1. Navigate to the Process Model that you created.
  2. The Process Model screen opens displaying toolbar and canvas.

  3. Drag End Event element to the visual designer from the toolbar next to the last task element in the process model.
  4. Select the End Event object you added.
  5. Enter a name for the End Event in the Name field.
  6. Expand Advanced, Custom Script and click On Before. Enter the custom script that you want the application to automatically execute before executing the end event. Your javascript can include only the syntax and objects as defined in ES5 edition. The browser objects such as JS Window, JS Document, and JS AJAX are not supported.
  7. Click Save.
  8. The Process Model is updated successfully.