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:
parent
cba4a19d3b
commit
15041734a7
|
@ -1402,7 +1402,7 @@ class ProcessInstanceProcessor:
|
||||||
tasks = self.bpmn_process_instance.get_tasks(state=TaskState.DEFINITE_MASK)
|
tasks = self.bpmn_process_instance.get_tasks(state=TaskState.DEFINITE_MASK)
|
||||||
loaded_specs = set(self.bpmn_process_instance.subprocess_specs.keys())
|
loaded_specs = set(self.bpmn_process_instance.subprocess_specs.keys())
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
if task.task_spec.description != "Call Activity":
|
if task.task_spec.__class__.__name__ != "CallActivity":
|
||||||
continue
|
continue
|
||||||
spec_to_check = task.task_spec.spec
|
spec_to_check = task.task_spec.spec
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue