Open saig0 opened 6 years ago
This is really useful and needed.
It's possible to workaround this by creating a generic worker that publish messages, but a built-in support in Zeebe is much preferred.
Hi @ceefour, by any chance have you created the generic worker you are mentioning above. Do you a sample code for the same?
@devdream02 no I haven't.
but a pseudo-code worker using zeebe-node might be
zbclient.createWorker('sendMessage', (job, complete, worker) => {
zbclient.sendMessage(job.variables.messageName,
job.variables.correlationId, job.variables.message);
complete.success();
});
Hey, @saig0 @korthout, What about support a built-in publish messages using throw message event? AS [EPIC] Broadcast signal event using throw signal event #11918 did.
Hi @skayliu, I discussed the idea with @saig0, and we agree that this would be amazing to support! I believe the implementation could be rather straightforward. However, we should ensure the current behavior stays the same for users.
Job worker
implementation (in the UI)I'll be on holiday for the next two weeks, so please tag @camunda/zeebe-process-automation
for any reviews or questions.
❤️ Thanks for offering to help out on this one! Looking forward to your contributions 🚀
Hi @korthout. Please assign this task to me. Thanks. ❤️
AT:
Context: