@Override public void onWorkItemCustomEvent(ObjectReferenceType assignee, @NotNull WorkItemType workItem, @NotNull WorkItemNotificationActionType notificationAction, WorkItemEventCauseInformationType cause, Task wfTask, OperationResult result) { WorkItemEvent event = new WorkItemCustomEvent(identifierGenerator, ChangeType.ADD, workItem, SimpleObjectRefImpl.create(functions, assignee), new WorkItemOperationSourceInfo(null, cause, notificationAction), wfTask.getWorkflowContext(), wfTask.getTaskType(), notificationAction.getHandler()); initializeWorkflowEvent(event, wfTask); processEvent(event, result); }