Skip to content

Commit aa60a74

Browse files
authored
fix worker_result.py: updated WorkerResultSuccess to pass through variables
1 parent 9adafe3 commit aa60a74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external-worker/flowable/external_worker_client/worker_result.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class WorkerResultSuccess(WorkResult, WorkResultWithVariables):
4242
def __init__(self, job: ExternalWorkerAcquireJobResponse):
4343
super().__init__()
4444
self._job_id = job.id
45+
self._variables = job.variables
4546

4647
def execute(self, rest_client: FlowableExternalWorkerRestClient):
4748
rest_client.complete_job(self._job_id, self._variables)

0 commit comments

Comments
 (0)