Skip to content

Commit fdf4470

Browse files
authored
Merge pull request #5752 from ProcessMaker/bugfix/FOUR-12667
FOUR-12667 Multi-Instance (Parallel) not routing the request when the parallel tasks are completed
2 parents 8459de8 + 048cdaa commit fdf4470

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ProcessMaker/Nayra/Managers/WorkflowManagerRabbitMq.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public function completeTask(Definitions $definitions, ExecutionInstanceInterfac
140140
// Get complementary information
141141
$version = $instance->process_version_id;
142142
$userId = $this->getCurrentUserId();
143-
$state = $this->serializeState($instance);
144143

145144
// Dispatch complete task action
146145
$this->dispatchAction([
@@ -152,7 +151,7 @@ public function completeTask(Definitions $definitions, ExecutionInstanceInterfac
152151
'element_id' => $token->element_id,
153152
'data' => $data,
154153
],
155-
'state' => $state,
154+
'collaboration_uuid' => $instance->collaboration_uuid,
156155
'session' => [
157156
'user_id' => $userId,
158157
],
@@ -556,7 +555,7 @@ public function throwSignalEventRequest(ProcessRequest $request, $signalRef, arr
556555
/**
557556
* Retrieves IDs of all instances collaborating with the given instance.
558557
*
559-
* This function compiles a list of IDs from execution instances associated
558+
* This function compiles a list of IDs from execution instances associated
560559
* with the same process as the input instance, including the instance itself.
561560
*
562561
* @param ProcessRequest $instance The instance to find collaborators for.

0 commit comments

Comments
 (0)