Skip to content

Commit 8628c99

Browse files
authored
Merge pull request #7108 from ProcessMaker/feature/FOUR-17166
feature/FOUR-17166: The history does not show the task was completed by ABE
2 parents 8ea4d6c + 1ed10f5 commit 8628c99

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎ProcessMaker/Http/Controllers/TaskController.php‎

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ public function updateVariable(HttpRequest $request, $abe_uuid)
224224
// Define the parameter for complete the task
225225
$process = Process::find($task->process_id);
226226
$instance = $task->processRequest;
227+
228+
// Set the flag is_actionbyemail in true
229+
(new ProcessRequestController)->enableIsActionbyemail($task->id);
230+
227231
// Completar la tarea relacionada
228232
WorkflowManager::completeTask(
229233
$process,
@@ -232,9 +236,6 @@ public function updateVariable(HttpRequest $request, $abe_uuid)
232236
$data
233237
);
234238

235-
// Set the flag is_actionbyemail in true
236-
(new ProcessRequestController)->enableIsActionbyemail($task->id);
237-
238239
$response['message'] = 'Variable updated successfully';
239240
$response['data'] = $abe;
240241
$response['status'] = 200;

0 commit comments

Comments
 (0)