Hi, I’m playing around with zeebe-node library and faced an issue which I’m not able to resolve. In my workflow, there is a message event, which should be triggered by the client. I believe I’m sending the correct message to the broker but It’s raising an incidence { Error Type: EXTRACT_VALUE_ERROR, Error Message: Failed to extract the correlation-key by ‘worker1Id’: no value found }. I’m using correct correlation key and message name.
following is my message event listener:
<bpmn:message id=“Message_01t2tpj” name=“worker1_status”> bpmn:extensionElements
<zeebe:subscription correlationKey=“worker1Id” />
</bpmn:extensionElements>
</bpmn:message>
@shantanubhusari you need to have variable worker1Id in your running worklfow instance. The message is then correlated to this instance with the same value.
@Zelldon that makes a lot of sense… I gave my thumbs up for correlationExpression in the GitHub issue. From the error report here it really looks confusing.
Particularly the “Common Mistakes” section. It is covered in there. Please comment on the linked issue to have the field renamed to correlationValue if you think that would make it clearer.