If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 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

  • Select the Process Pipeline Administration application to load its dashboard.
  • In the Event Handler Management area, select Entities as the Event Scope.
  • 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.
  • Click Add Event. The Event Handler form now displays.
  • In the Event field, enter AfterValidate.
  • 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.
  • For the GEObject input property, select GE Object as the Source Type. GEObject will then automatically populate in the Source field.

Configuring the Event Handler

  • Click OK to save the record.
  • Close the Aptify application and restart before continuing.
  • No labels