Skip to content

Commit

Permalink
backport 3546 (#3553)
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaausley authored and theburi committed Jun 5, 2024
1 parent 5dab3ec commit 9fc5a06
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ You can also use [`CreateProcessInstanceWithResult`](/apis-tools/zeebe-api/gatew
As soon as you have multiple possible starting points, you have to use named messages to start process instances. The API method is [`PublishMessage`](/apis-tools/zeebe-api/gateway-service.md#publishmessage-rpc):

```java
client.newPublishMessageComment()
client.newPublishMessageCommand()
.messageName("message_invoiceReceived") // <1>
.corrlationKey(invoiceId) // <2>
.variables( // <3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ You can also use [`CreateProcessInstanceWithResult`](/apis-tools/grpc.md/#create
As soon as you have multiple possible starting points, you have to use named messages to start process instances. The API method is [`PublishMessage`](/apis-tools/grpc.md/#publishmessage-rpc):

```java
client.newPublishMessageComment()
client.newPublishMessageCommand()
.messageName("message_invoiceReceived") // <1>
.corrlationKey(invoiceId) // <2>
.variables( // <3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ You can also use [`CreateProcessInstanceWithResult`](../../../apis-tools/grpc.md
As soon as you have multiple possible starting points, you have to use named messages to start process instances. The API method is [`PublishMessage`](../../../apis-tools/grpc.md#publishmessage-rpc):

```java
client.newPublishMessageComment()
client.newPublishMessageCommand()
.messageName("message_invoiceReceived") // <1>
.corrlationKey(invoiceId) // <2>
.variables( // <3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ You can also use [`CreateProcessInstanceWithResult`](../../../apis-tools/grpc.md
As soon as you have multiple possible starting points, you have to use named messages to start process instances. The API method is [`PublishMessage`](../../../apis-tools/grpc.md#publishmessage-rpc):

```java
client.newPublishMessageComment()
client.newPublishMessageCommand()
.messageName("message_invoiceReceived") // <1>
.corrlationKey(invoiceId) // <2>
.variables( // <3>
Expand Down

0 comments on commit 9fc5a06

Please sign in to comment.