Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Event Handlers are used to link process flows to entities or applications. In this case, since the process flow is executing validation logic for the Employees entity, we need to create an Event Handler for the Employees entity using either the BeforeValidate or AfterValidate event definition. For BeforeValidate, the system will run the process flow before executing the standard Generic Entity (GE) validation. For AfterValidate, the system will run the process flow after executing the standard GE validation. We can link the event handler to either event but for the sake of this example, we will link it to the AfterValidate event (so it occurs after the standard validation). Setting Up the Event Handler

Perform the following steps to set up the event handler:

  1. Select the Process Pipeline Administration application to load its dashboard.
  2. In the Event Handler Management area, select Entities as the Event Scope.
  3. Enter Employees in the Entity field. Upon tabbing out of the field, the grid below displays with a list of all other Event Handlers attached to the Employees entity, if any.
  4. Click Add Event. The Event Handler form now displays.
  5. In the Event field, enter AfterValidate.
  6. In the Process Flow field, enter the XY Validate Organization process flow.
    • Once the Process Flow field is filled, the Input Map tab populates with the input property defined on the process flow selected.

  7. For the GEObject input property, select GE Object as the Source Type. GEObject will then automatically populate in the Source field.

...


  1. Configuring the Event HandlerImage Added
  2. Click OK to save the record.
  3. Close the Aptify application and restart before continuing.