Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Abbreviation

Description

Event Type

et

WORK_ITEM

Event Stage

es

REQUEST (0) = work item creation, EXECUTION (1) = work item completion, delegation, escalation, or cancellation.

Initiator

I

For work item creation: User that originated the original request that is to be approved; technically, it is the owner of the workflow task. (It is NOT the approver!)

For work item delegation/escalation/completion/cancellation: User that requested the action (or user running the trigger task for timed delegation/escalation/completion/cancellation).

Target

T

Object (focus) of the approval.

Target Owner

TO

Owner of the objectNot used for now.

Deltas

D

For primary-stage change approvals:

  • For work item creation: Deltas that had to be approved by the respective workflow process instance.
  • For work item completion/cancellation: If approved, the delta coming from the custom form is here. (TODO: should we merge this additional delta with the original one? Because currently we have to look at the request to know the delta that was to be approved.)

For general workflows: Anything that workflow process author considers appropriate. (TODO)

Channel

ch

Not used for now.

Outcome

o

Only SUCCESS for now.

Parameter Stage information (name, displayName, number). Note that this field is not displayed in the standard audit log report.
Message 

For work item creation: Stage information (the same as parameter)

For work item completion: Stage information + "Approved"/"Rejected"/"(no decision)" + approver's comment

"No decision" is in cases where the work item was cancelled: either when process itself is stopped or deleted, or when work item is no longer necessary (as in "first decides" scenarios, or in "all approve" scenarios when the some approver rejects its work items - all the others are then cancelled).

Resultr

For work item completion: "Approved" / "Rejected".

Otherwise this field is empty.

...

Field

Abbreviation

Description

Event Type

et

WORKFLOW_PROCESS_INSTANCE

Event Stage

es

REQUEST (0) = workflow process instance start, EXECUTION (1) = workflow process instance end

Initiator

I

User that originated the original request that is to be approved; technically, it is the owner of the workflow task.

Target

T

Object (focus) of the approval.

Target Owner

TO

Owner of the objectNot used for now.

Deltas

D

For primary-stage change approvals:

Deltas that had to be approved by the respective workflow process instance (if applicable) - for REQUEST;
deltas that are output by the workflow process instance (if applicable) - for EXECUTION.

This is a bit questionable, because in this scheme the whole picture can be get only by pairing REQUEST with EXECUTION. By looking at EXECUTION alone, we do not see what was requested.

For general workflows: Anything that workflow process author considers appropriate. (TODO)

Channel

ch

Not used for now.

Outcome

o

Only SUCCESS for now.

Parameter On completion: Stage information (name, displayName, number)
Message On completion: Stage information + Result
Result On completion: Workflow process instance result: "Approved" / "Rejected" / null

...