diff --git a/server/src/main/java/io/littlehorse/common/model/getable/core/taskrun/UserTaskTriggerReferenceModel.java b/server/src/main/java/io/littlehorse/common/model/getable/core/taskrun/UserTaskTriggerReferenceModel.java index c2fb65e23..ec5d3fd4f 100644 --- a/server/src/main/java/io/littlehorse/common/model/getable/core/taskrun/UserTaskTriggerReferenceModel.java +++ b/server/src/main/java/io/littlehorse/common/model/getable/core/taskrun/UserTaskTriggerReferenceModel.java @@ -42,7 +42,9 @@ public Class getProtoBaseClass() { public UserTaskTriggerReference.Builder toProto() { UserTaskTriggerReference.Builder out = UserTaskTriggerReference.newBuilder() .setNodeRunId(nodeRunId.toProto()) - .setUserTaskEventNumber(userTaskEventNumber); + .setUserTaskEventNumber(userTaskEventNumber) + .setUserId(this.userId) + .setUserGroup(this.userGroup); return out; } @@ -52,6 +54,8 @@ public void initFrom(Message proto, ExecutionContext context) { UserTaskTriggerReference p = (UserTaskTriggerReference) proto; nodeRunId = LHSerializable.fromProto(p.getNodeRunId(), NodeRunIdModel.class, context); userTaskEventNumber = p.getUserTaskEventNumber(); + userId = p.getUserId(); + userGroup = p.getUserGroup(); } @Override