Restrict Worker to Process #529
Unanswered
maximilianbehr
asked this question in
Q&A
Replies: 3 comments
-
|
I was looking for the same.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It is not possible in Zeebe GRPC API |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I use this info to restrict access for now.. from pyzeebe import ZeebeWorker
worker = ZeebeWorker()
@worker.task(task_type="my-task")
def handle_task(job):
process_instance_key = job.process_instance_key
process_definition_key = job.process_definition_key
bpmn_process_id = job.bpmn_process_id
element_id = job.element_id
print(f"Process instance key: {process_instance_key}")
print(f"Process definition key: {process_definition_key}")
print(f"BPMN process id: {bpmn_process_id}")
print(f"Task element id: {element_id}")
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to restrict a worker to a specific process and version?
Beta Was this translation helpful? Give feedback.
All reactions