Inputs for message start event

I want to define a process with a message start event, as I want to start process instance with some input variables. In modeler I expect to be able to enable Inputs for my message event. But I see only Outputs, and few other properties.

Is my understanding of message start event wrong here?

image

Hi @mghildiy
The following code and link may help you

client.newPublishMessageCommand()
      .messageName("testMessage")
      .correlationKey("")
      .variable("testVariable", "testValue")
      .send()
      .join();

(Message events | Camunda 8 Docs)

2 Likes

Thanks @i.m.superman. It worked well for me.
I have a question here. What I have been doing so far is to launch c8run, deploy and run bpmn file using desktop modeler, and then monitor it at /operate page exposed by execution of c8run.
When we deploy and run it programmatically as in code above, how do we expose /operate etc?

PS: OK, I think we set it in application.yaml like this:

camunda:
  client:
    mode: self-managed
    zeebe:
      enabled: true
      grpc-address: http://localhost:26500
      rest-address: http://localhost:8082

So this would make /operate available on localhost:8082.

I have not used rest endpoint of zeebe.
I assume you want to monitor the progress of the process. The Operate of Camunda is the best choice in my opinion.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.