Zeebe Adapter Reference
- class pyzeebe.grpc_internals.zeebe_adapter.ZeebeAdapter(grpc_channel: Channel, max_connection_retries: int = -1)
-
- async activate_jobs(task_type: str, worker: str, timeout: int, max_jobs_to_activate: int, variables_to_fetch: Iterable[str], request_timeout: int, tenant_ids: Iterable[str] | None = None) AsyncGenerator[Job]
- async cancel_process_instance(process_instance_key: int) CancelProcessInstanceResponse
- async create_process_instance(bpmn_process_id: str, version: int, variables: Variables, tenant_id: str | None = None) CreateProcessInstanceResponse
- async create_process_instance_with_result(bpmn_process_id: str, version: int, variables: Variables, timeout: int, variables_to_fetch: Iterable[str], tenant_id: str | None = None) CreateProcessInstanceWithResultResponse
- async deploy_resource(*resource_file_path: str, tenant_id: str | None = None) DeployResourceResponse
- async fail_job(job_key: int, retries: int, message: str, retry_back_off_ms: int, variables: Mapping[str, Any]) FailJobResponse
Zeebe GRPC Responses
- class pyzeebe.grpc_internals.types.CreateProcessInstanceResponse(process_definition_key: 'int', bpmn_process_id: 'str', version: 'int', process_instance_key: 'int', tenant_id: 'str | None')
- process_definition_key: int
the key of the process definition which was used to create the process instance
- bpmn_process_id: str
the BPMN process ID of the process definition which was used to create the process instance
- class pyzeebe.grpc_internals.types.CreateProcessInstanceWithResultResponse(process_definition_key: 'int', bpmn_process_id: 'str', version: 'int', process_instance_key: 'int', variables: 'Variables', tenant_id: 'str | None')
- process_definition_key: int
the key of the process definition which was used to create the process instance
- bpmn_process_id: str
the BPMN process ID of the process definition which was used to create the process instance
- process_instance_key: int
the unique identifier of the created process instance; to be used wherever a request needs a process instance key (e.g. CancelProcessInstanceRequest)
- variables: Variables
consisting of all visible variables to the root scope
- class pyzeebe.grpc_internals.types.CancelProcessInstanceResponse
- class pyzeebe.grpc_internals.types.DeployResourceResponse(key: 'int', deployments: 'list[ProcessMetadata | DecisionMetadata | DecisionRequirementsMetadata | FormMetadata]', tenant_id: 'str | None')
- class ProcessMetadata(bpmn_process_id: 'str', version: 'int', process_definition_key: 'int', resource_name: 'str', tenant_id: 'str | None')
- class DecisionMetadata(dmn_decision_id: 'str', dmn_decision_name: 'str', version: 'int', decision_key: 'int', dmn_decision_requirements_id: 'str', decision_requirements_key: 'int', tenant_id: 'str | None')
- dmn_decision_id: str
the dmn decision ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
- dmn_decision_requirements_id: str
the dmn ID of the decision requirements graph that this decision is part of, as parsed during deployment
- class DecisionRequirementsMetadata(dmn_decision_requirements_id: 'str', dmn_decision_requirements_name: 'str', version: 'int', decision_requirements_key: 'int', resource_name: 'str', tenant_id: 'str | None')
- dmn_decision_requirements_id: str
the dmn decision requirements ID, as parsed during deployment; together with the versions forms a unique identifier for a specific decision
- dmn_decision_requirements_name: str
the dmn name of the decision requirements, as parsed during deployment
- class FormMetadata(form_id: 'str', version: 'int', form_key: 'int', resource_name: 'str', tenant_id: 'str | None')
- deployments: list[ProcessMetadata | DecisionMetadata | DecisionRequirementsMetadata | FormMetadata]
a list of deployed resources, e.g. processes
- class pyzeebe.grpc_internals.types.PublishMessageResponse(key: 'int', tenant_id: 'str | None')
- class pyzeebe.grpc_internals.types.CompleteJobResponse
- class pyzeebe.grpc_internals.types.FailJobResponse
- class pyzeebe.grpc_internals.types.ThrowErrorResponse