The page details the information logged in the audit during a workflow completion.
What Is Logged in the Audit
Since 7.4, a new audit category called Routing has been added for the following workflow events:
afterWorkflowStartedafterWorkflowFinishbeforeWorkflowCanceledafterWorkflowTaskCreatedafterWorkflowTaskEndedafterWorkflowTaskReassignedafterWorkflowTaskDelegated
For all these events, we log useful information regarding the workflow and/or node state in the extended info of the audit entry. The table below summarizes which extended info is logged depending on the event.
| modelName | modelId | workflowInitator | taskActor | workflowVariables | nodeVariables | action | timeSinceWfStarted | timeSinceTaskStarted | |
|---|---|---|---|---|---|---|---|---|---|
| afterWorkflow Finish | x | x | x | x | x | ||||
| afterWorkflow Started | x | x | x | x | x | ||||
| beforeWorkflow Canceled | x | x | x | x | x | ||||
| afterWorkflow TaskCreated | x | x | x | x | x | ||||
| afterWorkflow TaskEnded | x | x | x | x | x | x | x | x | |
| afterWorkflow TaskReassigned | x | x | x | x | x | x | x | ||
| afterWorkflow TaskDelegated | x | x | x | x | x | x | x |
Where:
modelNameis the name of the workflow modelmodelIdis the uuid of the workflow modelworkflowInitatoris the user who initiated the workflowtaskActoris the user who completed a task associated to a workflow nodeworkflowVariableslists the global variables of the workflownodeVariableslists the local variables i.e. the ones defined on the node associated to a taskactionis the action (i.e. button) that has been clicked to complete a task.timeSinceWfStartedis the time in milliseconds elapsed since the workflow started.timeSinceTaskStartedis the time in milliseconds elapsed since the task started.
Note that since Nuxeo 7.3, the audit is stored by default as an Elasticsearch index which offers the possibility to store the extended info as plain JSON objects. The workflowVariables and nodeVariables are indeed maps of primitive types and therefore are stored in their current forms except for blob variables which are omitted.