In the final step in the Validation Process Flow tutorial, the process flow has been created and linked to the Employees entity. All that remains now is to test the functionality. To do this:

  1. Open a new record from the Employee service.
  2. Enter a first and last name.
  3. Enter a warehouse in the Organization field (that is, enter an Organizations record with an ID greater than 6).

  4. Save the record.
  5. Click OK to close the validation message.
  6. Change the new employee's affiliation to a non-warehouse organization (such as ID 5).

  7. Save the record.
  8. Try to change an existing employee to associate with a warehouse Organization. You should get the same results as above for a new Employees record.

Cleaning Up

Unless you make the Event Handler inactive, you will continue to impose the validation logic on your test system.

  1. Open the Event Handler created in this example.
  2. Clear the Active option.
  3. Click OK to save the record, then exit the Event Handler Management form.

For best results, close Aptify and reopen the application before performing any more processing within the system.