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:
afterWorkflowStarted
afterWorkflowFinish
beforeWorkflowCanceled
afterWorkflowTaskCreated
afterWorkflowTaskEnded
afterWorkflowTaskReassigned
afterWorkflowTaskDelegated
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:
modelName
is the name of the workflow modelmodelId
is the uuid of the workflow modelworkflowInitator
is the user who initiated the workflowtaskActor
is the user who completed a task associated to a workflow nodeworkflowVariables
lists the global variables of the workflownodeVariables
lists the local variables i.e. the ones defined on the node associated to a taskaction
is the action (i.e. button) that has been clicked to complete a task.timeSinceWfStarted
is the time in milliseconds elapsed since the workflow started.timeSinceTaskStarted
is 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.