Siebel Order Management Guide > Data Validation for Order Management > Process of Invoking the Data Validation Manager Business Service >
Invoking Data Validation Manager from a Workflow
You can invoke the Data Validation Manager business service from a workflow. This section describes some of the possible steps you can include to enable this invocation. You may need to modify and expand on this procedure to accommodate more complex business requirements. The workflow process you create must contain the following steps:
- Start. Initiates the process instance. When the conditions have been met, the application initiates the process instance.
- Business Service. A step in a process in which an automated call is made to the Data Validation Manager service. A workflow process definition can have one or more business service steps.
- End. A step in a process that specifies when a process instance is finished.
This task is part of Process of Invoking the Data Validation Manager Business Service.For more information about how to create a start step, business service step, and end step in a workflow, see Siebel Business Process Designer Administration Guide. When you create the business service step, include the following information:
- In the Business Service form, complete the fields described in the following table.
|
|
Business Service |
Data Validation Manager |
Method |
Validate |
- In the Input Arguments list, create new records to establish your Input Arguments as described in the following table .
|
|
Active Object |
Can attain a value of Y or N. If the value is N or if this input argument is not entered into the list applet, the Business Object and Object ID input arguments must be established and cannot be NULL. |
Business Object |
The name of the business object (that is, the functional area) to which the event occurs. It is required if an Active Object has not been specified or has a value of N. By default, the business service uses the primary business component of the business object (if defined). |
Enable Log |
Valid options include:
- Y - Application logs all instances when the rule set runs.
- N - Application does not track any instances of when the rule set runs.
For more information on the Validation log file, see To view the validation history. |
Object ID |
The row ID of the principle business component of the business object. It is required if an Active Object has not been specified or has a value of N. |
Group |
Group name to which to restrict data validation rule set selection. |
Rule Set Name |
In the Value field, enter the name of the rule set to be invoked. For more information, see To define a new validation rule set. |
If you want to pass information to another process, you must establish Output Arguments. Output arguments allow you to store a resulting value in a process property. For more information on defining return codes and return messages, see To define a validation rule.
- In the Output Arguments list, create new records to establish the desired outputs as described in the following table.
|
|
Return Code |
Contains the value of the Return Code field of the validation rule. |
Return Message |
Contains the value of the Message field of the validation rule. |
NOTE: Both the Return Code and the Return Message will remain empty if the validation succeeds.
|