# Facing Issue with NewPublishMessageCommand()

**URL:** <https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [November 2, 2023, 2:59pm UTC](https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593 "2023-11-02T14:59:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![camundabpmlearner](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@camundabpmlearner](https://forum.camunda.io/u/camundabpmlearner)\
**Post date:** [November 2, 2023, 2:59pm UTC](https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593/1 "2023-11-02T14:59:09Z")

</div>

Hi,  
I’m trying to trigger the **Intermediate message event** using zeebe client(golang) & the functionality working fine with zeebe with simple monitor. But as soon as I switch to zeebe core(docker-compose-core.yml) v8.3.1, process instance doesnt pick the message and resume. Process execution will be waiting in the same state though message been fired!. I didn’t observe error as well. So I’m not sure where is the issue here.

Can you please provide input on this.

---

<div class="post-metadata">

**Author:** ![Hafflgav](https://forum.camunda.io/user_avatar/forum.camunda.io/hafflgav/32/21343_2.png) [@Hafflgav](https://forum.camunda.io/u/Hafflgav)\
**Post date:** [November 2, 2023, 3:20pm UTC](https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593/2 "2023-11-02T15:20:05Z")

</div>

Hey @camundabpmlearner 👋  
What Camunda 8 version did you use with Zeebe simple monitor?

Would also be great if you could share a code snippet.  
I assume the message reference is correct and the correlation key as well?

Looking forward to some more informations. 🙂  
Thomas

---

<div class="post-metadata">

**Author:** ![camundabpmlearner](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@camundabpmlearner](https://forum.camunda.io/u/camundabpmlearner)\
**Post date:** [November 2, 2023, 3:52pm UTC](https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593/3 "2023-11-02T15:52:25Z")

</div>

I found out the issue is string(processInstanceId)… I used this in correlation key, this was working with 8.2.x but not in 8.3.x… I removed them and it started working.

---

<div class="post-metadata">

**Author:** ![Hafflgav](https://forum.camunda.io/user_avatar/forum.camunda.io/hafflgav/32/21343_2.png) [@Hafflgav](https://forum.camunda.io/u/Hafflgav)\
**Post date:** [November 2, 2023, 5:05pm UTC](https://forum.camunda.io/t/facing-issue-with-newpublishmessagecommand/48593/4 "2023-11-02T17:05:08Z")

</div>

Ah, great!  
Thanks for letting the Community know ❤
