DOCUMENT_EXPORT Report Example

The following is an excerpt of a report created from a job using the jobType value DOCUMENT_EXPORT, which contains the following information about the approvals for the form:
  • approval_records: Entries that record the events that occurred for the approval task.

  • approval_requests: Entries that record the state changes for the approval task.

  • approval_comments: Entries for comments submitted in the approval task.

{
  "id": 1045,
  "status": "Submitted",
  "requester": "areed",
  "document-link": "35900",
  "creation_time": "Apr 22, 2023 11:14:07 AM",
  "modification_time": "Apr 22, 2023 11:14:08 AM",
  "approval_records": [
    {
      "id": 1047,
      "creationTime": "Apr 22, 2023 11:14:08 AM",
      "modificationTime": "Apr 22, 2023 11:14:08 AM",
      "approvalEvent": "DocumentSubmitted",
      "author": "areed"
    },
    {
      "id": 1049,
      "creationTime": "Apr 22, 2023 11:14:35 AM",
      "modificationTime": "Apr 22, 2023 11:14:35 AM",
      "approvalEvent": "ApprovalGraphEdited",
      "author": "areed"
    },
    {
      "id": 1051,
      "creationTime": "Apr 22, 2023 11:15:19 AM",
      "modificationTime": "Apr 22, 2023 11:15:19 AM",
      "approvalEvent": "CommentAdded",
      "author": "afontaine"
    },
    {
      "id": 1053,
      "creationTime": "Apr 22, 2023 11:15:36 AM",
      "modificationTime": "Apr 22, 2023 11:15:36 AM",
      "approvalEvent": "RequestApproved",
      "author": "afontaine"
    },
  ],
  "approval_requests": [
    {
      "id": 1046,
      "creationTime": "Apr 22, 2023 11:14:08 AM",
      "modificationTime": "Apr 22, 2023 11:14:08 AM",
      "allApprovalsRequired": false,
      "approvalRequired": true,
      "ruleName": "node_1",
      "source": "FORM_SUBMIT",
      "status": "Active"
    },
    {
      "id": 1048,
      "creationTime": "Apr 22, 2023 11:14:34 AM",
      "modificationTime": "Apr 22, 2023 11:15:36 AM",
      "allApprovalsRequired": false,
      "approvalRequired": true,
      "approvedBy": "afontaine",
      "approverTime": "Apr 22, 2023 11:15:36 AM",
      "ruleName": "edit_1682162064746_1",
      "source": "USER_EDIT",
      "status": "Approved"
    }
  ],
  "approval_comments": [
    {
      "id": 1050,
      "creationTime": "Apr 22, 2023 11:15:19 AM",
      "modificationTime": "Apr 22, 2023 11:15:19 AM",
      "author": "afontaine",
      "active": true,
      "commentString": "first comment"
    },
    {
      "id": 1052,
      "creationTime": "Apr 22, 2023 11:15:36 AM",
      "modificationTime": "Apr 22, 2023 11:15:36 AM",
      "author": "afontaine",
      "active": true,
      "commentString": "approve time comment"
    },
  ],
  "[object Object]": null
}