Defining Validation Rule Actions
This task is a step in Process of Administering Data Validation Rules.
The Data Validation Manager business service can perform a sequence of actions when a rule expression is evaluated to be FALSE. Each action can be set to update a business component in the active business object or to execute a business service.
Each action has a sequence number. Data Validation Manager executes the actions in ascending order of their sequence numbers.
To define a data validation rule action
Navigate to Administration - Data Validation, and then Rule Sets view.
In the Validation Rule Set list, select the rule for which you want to define an action, and drill down on the Name hyperlink.
Click the Actions view tab.
In the Actions list, add a new record, and complete the necessary fields. Some fields are described in the table that follows.
Field Comments Sequence #
Identifies the numeric sequence of this rule in the rule action. The application executes actions in numerical order based on this number.
Type
Determines whether the action is to update the current active business component or execute a business service. Can either be Business Component or Business Service.
Business Component
Name of business component which you want to update. This field is editable only when Type is set to Business Component.
Business Service Name
Name of the business service you want to invoke. This field is editable only when Type is set to Business Service.
Business Service Method
Method of the business service you want to invoke.
Business Service Context
Name - value pairs which you can use to pass certain values as input arguments to the business service. For example, "input argument 1", "value 1", "input argument 2", "value 2".
For each action record of type Business Component, enter the field and value information as described in the table that follows.
Field | Comments |
---|---|
Field |
Name of the business component field you want to update. |
Value |
Value with which you want to update the business component field. This value must be a constant and cannot be an expression. |