From 3eb15527fb0ca8d0739d2113e6d533f15cfad137 Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 23 Feb 2023 15:06:23 -0500 Subject: [PATCH] added comment about refactoring getting task data w/ burnettk jbirddog --- .../routes/process_instances_controller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_instances_controller.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_instances_controller.py index 7d0b4837..4edbba04 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_instances_controller.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_instances_controller.py @@ -576,6 +576,9 @@ def process_instance_task_list( steps_by_id = {step_detail.task_id: step_detail for step_detail in step_details} + # FIXME: never evaluate task data in this call and instead create a new api getter + # that will return the task data for a given step only. We think processing this + # data is what is causing long load times on the processInstanceShowPage. subprocess_state_overrides = {} for step_detail in step_details: if step_detail.task_id in tasks: