Anyway for woker to poll job of specific bpmn process id?

In our cases, we deploy different bpmn processes which may contain jobs of same type name.

my-first-process
    job-init
    job-aaa

my-second-process
    job-init
    job-bbb

Seems the Java Client API can only pass a job-type args when initializing a worker. Problems occurs when we want to handle the job-init of my-first-process but the worker may poll job-init of my-second-process. So is there anyway for woker to poll job of specific bpmn process id?

Hi @TangJiong,

welcome to the Zeebe community :tada:

Regarding your question:

No, this is currently not possible. There is an open feature request that seems similar to that you ask for: https://github.com/zeebe-io/zeebe/issues/3439

One workaround is to have a prefix of the job types to make them unique (e.g. my-first-process-job-init).

Best regards,
Philipp