IBM Datacap, Version 8.1            

Running validation rules

You can run validation rules on start panel fields.

To run validation rules on start panel fields, enter the name of the validation task profile in the remote scan task's client's set.xml file:
  1. Start Taskmaster Web, click the Administrator tab, click Workflow, and select the remote scan task for which you want to specify the task profile.
  2. In the Selected task details pane, click Setup.
  3. In the task.set.xml - Webpage Dialog window, scroll to the Rulerunner settings section
  4. In the Main task profile field, enter a name of the validation task profile (for example, ValidateStartPanel).
  5. Scroll down and click Save.

In this example, Taskmaster starts the ValidateStartPanel task profile when the user clicks Submit in the start panel.

To implement the validation rules:

  1. Create a task profile with an associated ruleset.
  2. Create a validation rule for each start panel field you want to validate.
  3. Bind each rule to the associated batch level field.

For example, the following rule validates the operator name by using a database lookup.

Example of Validate Operator rule that uses a database lookup action



Feedback

Last updated: November 2013
dcadg819.htm

© Copyright IBM Corporation 2013.