Skip to content

Commit

Permalink
add partitionId and position as recommended, camunda-community-hub#28…
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram509 committed Aug 27, 2021
1 parent 3c41667 commit cd70b4b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ private Schema.ProcessInstanceRecord createElementInstanceWithId(String elementI
return Schema.ProcessInstanceRecord.newBuilder()
.setElementId(elementId)
.setMetadata(Schema.RecordMetadata.newBuilder()
.setPartitionId(333)
.setPosition(55555L)
.setIntent(ProcessInstanceIntent.ELEMENT_ACTIVATED.name()))
.build();
}
Expand Down

0 comments on commit cd70b4b

Please sign in to comment.