Manage validation errors

Validation actions set the Status variable of the object if there is an error. The Status variable determines which pages Datacap displays to the operator. However, you might need to complete extra error handling within the application.

The following rule has two functions and each function has two actions. Suppose that Function1 contains validation actions and Function2 is there to handle validation errors.

Rule: Validation rule
   Function1: Perform validation
      Action1
       Action2
   Function2: Handle validation errors
      Action3 
      Action4

Using the rules for execution of functions and actions within a rule: