Operation context

Use the operation context of an operation

Principle

When an operation is executed, the context in which it was performed is provided as input, and its type differs according to the original action. The variable context contains an object inherited from

OperationContext.

Action context definition

Depending on the action to which the operation is subscribed, the operation context changes:
CREATE:

UpdateComponentOperationContext.
UPDATE:

UpdateComponentOperationContext.
UPDATE_CONTENT:

UpdateContentOperationContext.
ANSWER:

TaskOperationContext.
ASSIGN:

TaskOperationContext.