Skip to main content

Work with Document Metadata

Document Metadata lets you define the field-level data that appears during the Reject/Repair document review process, separately from the task template itself. This JSON defines the fields and information that need to be extracted or displayed during the Reject Repair process. This separation is intentional — a single template can be associated with multiple documents and vice versa, so keeping metadata independent allows maximum reuse across different task templates. Admins create and manage document metadata, which can also be exported and imported in JSON format for reuse across tenants. The Reject/Repair step works in a similar way to the Human-in-Loop step, but in a Document Review template, only the actions are defined within the template while the data fields are configured in the Document Metadata tab.

Note
  • Currently, the Reject Repair screen does not support masking specific documents.
  • The Masking UI control is not implemented, so users cannot select masking areas or receive masked documents after submitting a request or task.

To view document metadata:

  1. In the menu, click Tasks → Document Metadata. The Document Metadata page appears.

    img

    Document Metadata page

  2. View the following columns:

    Column nameDescription
    Doc CodeDisplays the unique name of the document.
    VersionDisplays version number of the document.
    Last UpdatedDisplays date and time when the Document Metadata was last updated.
    ActionClick Edit img, Delete img, or Export img to manage the document metadata. For more details, see Action.

Action

  • Edit Click img to open the task template in edit mode. This allows you to update the template details such as Data Fields, Action buttons and other configurations. After making changes, save the template to apply the updates.

  • Delete Click img to delete the template. A confirmation dialog appears asking you to confirm the deletion.

  • Export Click img to export the Document Metadata in JSON format.

Import

You can import document metadata if it has already been created and exported in JSON format.

To import the Document Metadata:

  1. Click Import. The Import Document Metadata dialog appears.

    img

    Import Document Metadata dialog

  2. Select the file, rename the document metadata, and click Import.

  3. The Document Metadata is imported successfully.

To create Document Metadata:

  1. In the menu, click Tasks → Document Metadata. The Document Metadata page appears.

    img

    Document Metadata page

  2. Click Add. Add New Document Metadata page appears.

    img

    Add New Document Metadata page

  3. Enter the following fields details:

    • Document Code*: Enter the unique name of the document. This name will be used in Reject/Repair step. For more details, see AutomationEdge Standard Plugins Guide.

    • Description*: Enter description about the task.

    • Document Metadata JSON*: The fields that you want to extract from a document must be defined in Document Metadata JSON. For example,

          [
      {
      "key": "key_1",
      "displayName": "name",
      "type": "formField",
      "description": "Name extracted from the form",
      "order": 1,
      "uiControl": "textbox"
      },
      {
      "key": "key_2",
      "displayName": "id",
      "type": "formField",
      "description": "Id extracted from the form",
      "order": 2,
      "uiControl": "textarea"
      }
      ]
  4. Click Create. Document Metadata is created.

    img

    Document Metadata created successfully

    Note
    • Click Sample to check the sample Document Metadata.

      img

      Sample Document Metadata

    • Click Preview to view the document metadata you created.

      img

      Document Metadata preview

Important:

Purging of Task Tasks are generated only when a request is submitted, and they remain associated with that request. While purging, if the request entity is deleted, all dependent entities such as metrics and tasks are also purged. You can see the Purged Tasks in the Archived tab.