Define validation rules for standard forms learning instance

To prevent wrong or invalid data extraction, you can edit the bot associated with any standard forms learning instance and customize the validation rules.

You can only edit a bot on staging. So ensure that you move any bot that you want to edit to staging if it is in production.

Using IQ Bot extraction service

Use IQ Bot Designer to train a learning instance and extract content from sample documents. Review each field to ensure the correct value is extracted and where necessary, map the correct field.

For more information, see Train a learning instance.

Using Microsoft Azure Form Recognizer service

  1. On the Bot page, select the bot you want to edit.

    You can also use the Search bar to locate the bot.

  2. Click the Edit Bot icon.
  3. In the Field column, click Field options.
  4. Enter any custom validation rules in the fields under the Validate Pattern tab.

    Documents that are not processed are moved to the Validator, and fields with errors are flagged. You can review the flagged fields in the Validator.

    Use the IQ Bot Validator

  5. Enter post processing logic under the Logic tab, and click Save.
  6. Click Save. The updated bot is saved on staging and you can move it to production.