Show TOC

Action ValidationsLocate this document in the navigation structure

Definition

An action validation is an entity that refers to a specific action. It contains checking logic that is automatically executed before the action is processed.

Use

Action validations check if an action can be carried out. An action validation is executed when an action is called and before the action is executed. If some validations fail, the action is not executed on the instances where the validation failed.

Example

Using the RELEASE action of the CUSTOMER_INVOICE business object invoices can be set to the RELEASED status. Before an invoice is released, it must be approved. If a consumer calls the RELEASE action, the CHECK_RELEASE action validation is automatically executed. It checks the instances on which the RELEASE action has been called. Only instances having the APPROVED flag set are processed by the RELEASE action.