From e94b296056dd0820de8f2a01b95952e2e7952b98 Mon Sep 17 00:00:00 2001 From: "Marco A. Nina Mena" Date: Mon, 2 Feb 2026 16:41:00 -0400 Subject: [PATCH] fix(task): add task reload logic in handleProcessUpdate method --- src/components/task.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/task.vue b/src/components/task.vue index 5fd7038a..88d17025 100644 --- a/src/components/task.vue +++ b/src/components/task.vue @@ -831,6 +831,12 @@ export default { * @param {Object} data - The event data received from the socket listener. */ handleProcessUpdate(data) { + if (!this.task) { + // reload the task if it is not found + this.reload(); + return; + } + const { event, elementDestination, tokenId } = data; // If the activity is completed and there is an element destination, set the element destination to the task