use the class name to determine what a task type is w/ burnettk (#527)

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
jasquat 2023-10-05 13:28:41 -04:00 committed by GitHub
parent cba4a19d3b
commit 15041734a7
1 changed files with 1 additions and 1 deletions

View File

@ -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