Skip to main content

Work with Document Metadata

In the Reject/Repair step, the required JSON data is provided in Document Metadata. This JSON defines the fields and information that need to be extracted or displayed during the Reject Repair process. By configuring the metadata separately, you ensure that the template contains only the action buttons, while the field-level details are maintained in the Document Metadata.

The Reject/Repair step works in a similar way to the Human-in-Loop step. However, in a Document Review template, only the actions are defined within the template.

Notes:
  • 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.

The data fields are not defined in the template itself. Instead, they are configured in the Document Metadata tab. This separation is intentional because a single template can be associated with multiple documents and vice versa. By keeping metadata separate, the same template can be reused with different documents, and document metadata can be used in different task templates since they carry their own specific field definitions.

To view document metadata:

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

    alt text

  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 alt text, Delete alt text, or Export alt text to manage the document metadata. For more details, see Action.

Action

  • Edit Click alt text 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 alt text to delete the template. A confirmation dialog appears asking you to confirm the deletion.

  • Export Click alt text 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.

    alt text

  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.

    alt text

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

    alt text

  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.

    alt text

    Notes:
    • Click Sample to check the sample Document Metadata.

      alt text

    • Click Preview to view the document metadata you created.

      alt text

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.