Hi,
I am trying to implement custom task list app. I have simple process like this:
When zeebe reaches user task Ship goods, my job worker io.camunda.zeebe:userTask
is called. It basically just inserts row into task table in my database and forwards the job with 30 day timeout. Zeebe process waits for job to be completed later.
When something happens with task in my database (comment added, attachment added, assigned, rejected) I would like to send message to zeebe and react to it in some way.
My expectation is to send message like this
- name: task-was-assigned
- correlation key: 123 (autoincrement PK from my task table)
The problem is, that zeebe does not know task id 123 from my database. I can not use job.key as correlation key because zeebe does not know it neither.
Is there any solution to this?
I guess I could use service task + event gateway instead of user task. But I think process with user tasks is more understandable.
Thank you