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
Co-authored-by: Jacob <[email protected]>
  • Loading branch information
KarlaCarvajal and Snarr committed Dec 3, 2024
1 parent 01c8645 commit 2706596
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 2706596

Please sign in to comment.