From b62c31c4d58a4d2fc7c2a7247976a78c05b22737 Mon Sep 17 00:00:00 2001 From: Eleazar Resendez Date: Tue, 3 Feb 2026 13:30:54 -0600 Subject: [PATCH] fix: set guided template process owner to authenticated user --- ProcessMaker/Templates/ProcessTemplate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ProcessMaker/Templates/ProcessTemplate.php b/ProcessMaker/Templates/ProcessTemplate.php index a1eca1857d..513e0b7350 100644 --- a/ProcessMaker/Templates/ProcessTemplate.php +++ b/ProcessMaker/Templates/ProcessTemplate.php @@ -257,6 +257,7 @@ public function create($request) : JsonResponse $payload['export'][$key]['attributes']['name'] = $requestData['name']; $payload['export'][$key]['attributes']['description'] = $requestData['description']; $payload['export'][$key]['attributes']['process_category_id'] = $requestData['process_category_id']; + $payload['export'][$key]['attributes']['user_id'] = Auth::id(); // Store the wizard template uuid on the process to rerun the helper process if (isset($requestData['wizardTemplateUuid'])) { $properties = json_decode($payload['export'][$key]['attributes']['properties'], true);