Skip to content

Commit

Permalink
fix(server): include fields in the user task trigger reference model (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlaCarvajal authored Dec 3, 2024
1 parent 9d1de83 commit 7882e98
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public Class<UserTaskTriggerReference> 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;
}
Expand All @@ -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
Expand Down

0 comments on commit 7882e98

Please sign in to comment.