From 15041734a7da0180f3f1508ae4ec85aabf4e6f5e Mon Sep 17 00:00:00 2001 From: jasquat <2487833+jasquat@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:28:41 -0400 Subject: [PATCH] use the class name to determine what a task type is w/ burnettk (#527) Co-authored-by: jasquat --- .../services/process_instance_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 18aa811da..d3b5c830d 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -1402,7 +1402,7 @@ class ProcessInstanceProcessor: tasks = self.bpmn_process_instance.get_tasks(state=TaskState.DEFINITE_MASK) loaded_specs = set(self.bpmn_process_instance.subprocess_specs.keys()) for task in tasks: - if task.task_spec.description != "Call Activity": + if task.task_spec.__class__.__name__ != "CallActivity": continue spec_to_check = task.task_spec.spec