diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py index b2ce4cfd..e095ff15 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -97,9 +97,6 @@ from spiffworkflow_backend.services.user_service import UserService from spiffworkflow_backend.services.workflow_execution_service import ( execution_strategy_named, ) -from spiffworkflow_backend.services.workflow_execution_service import ( - StepDetailLoggingDelegate, -) from spiffworkflow_backend.services.workflow_execution_service import ( TaskModelSavingDelegate, ) @@ -1660,7 +1657,6 @@ class ProcessInstanceProcessor: execution_strategy_name: str = "greedy", ) -> None: """Do_engine_steps.""" - # NOTE: Commenting out to test how this changes performance: # def spiff_step_details_mapping_builder( # task: SpiffTask, start: float, end: float diff --git a/spiffworkflow-frontend/src/routes/TaskShow.tsx b/spiffworkflow-frontend/src/routes/TaskShow.tsx index fbf0bd81..058ee0b5 100644 --- a/spiffworkflow-frontend/src/routes/TaskShow.tsx +++ b/spiffworkflow-frontend/src/routes/TaskShow.tsx @@ -23,7 +23,7 @@ import ProcessBreadcrumb from '../components/ProcessBreadcrumb'; export default function TaskShow() { const [task, setTask] = useState(null); - const [userTasks, setUserTasks] = useState(null); + const [userTasks] = useState(null); const params = useParams(); const navigate = useNavigate(); const [disabled, setDisabled] = useState(false); @@ -33,6 +33,8 @@ export default function TaskShow() { useEffect(() => { const processResult = (result: ProcessInstanceTask) => { setTask(result); + setDisabled(false); + /* Disable call to load previous tasks -- do not display menu. const url = `/v1.0/process-instances/for-me/${modifyProcessIdentifierForPathParam( result.process_model_identifier )}/${params.process_instance_id}/task-info`; @@ -52,6 +54,7 @@ export default function TaskShow() { addError(error); }, }); + */ }; HttpService.makeCallToBackend({ path: `/tasks/${params.process_instance_id}/${params.task_id}`,