Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29328

Audit entries for Tasks and Workflows should include the target documents uuid

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Audit, Workflow

      Description

      The event afterWorkflowStarted must have the target document uuid in extended info. Currently it's not possible to find for which document the workflow was started.

      "entity-type": "logEntry",
      "id": 297280,
      "category": "Routing",
      "principalName": "Administrator",
      "comment": null,
      "docLifeCycle": "running",
      "docPath": "/document-route-instances-root/2020/06/26/Workflow",
      "docType": "DocumentRoute",
      "docUUID": "256f4bcf-4395-4f7c-9fa2-60cc85ad0ed9",
      "eventId": "afterWorkflowStarted",
      "repositoryId": "default",
      "eventDate": "2020-06-26T02:05:48.927Z",
      "logDate": "2020-06-26T02:05:49.029Z",
      "extended": {
          "modelName": "Workflow",
          "workflowVariables": {},
          "modelId": "5cb6ff50-f171-431e-a434-a55d065f4ef7",
          "workflowInitiator": "Administrator"
      }
      

      To facilitate querying wokflow events with the target document uuid, adding this information to all workflow and task events is useful too.

      this can’t be solved with the extendedInfo mapping because the missing information is not present in the context

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: