If I make more than 1 instance, my ReciveTask completed automatic, but I whant to complete my task by REST. In the first (first process instance) time it works as I excpect, but other times it completle automatic (repeat again =) ). Is it a bug? Or else I don’t understand this logic.
this behavior is expected and is due to the zeebe message buffering mechanism.
Each message has a specific time to live. This means if you create a new worfklow instance
and the message was already published and was not deleted yet, since the TTL is not expired
it will be correlated to the receive task immediately.
You can find more information about this in the docs in the Message Correlation section.
I’m not sure whether I understand your question.
What do you mean with deployed message? The published message will be deleted if the TTL expires.
If you publish a message with the Java Client without a specific TTL then a default TTL is used. You can find the default value in the client configuration.