added additional details to why we remove the root node from the spiff spec w/ burnettk

This commit is contained in:
jasquat 2023-05-16 10:49:25 -04:00
parent a29cbe38f2
commit c029f4b6d5

View File

@ -432,7 +432,8 @@ class TaskService:
for task_id, task_properties in tasks.items():
# The Root task is added to the spec by Spiff when the bpmn process is instantiated
# within Spiff. We do not actually need it and it's missing from our initial
# bpmn process defintion so let's avoid using it.
# bpmn process defintion so let's avoid using it. This causes issues with the hashing
# since it is not there when we initially take the hash and save the definition.
if task_properties["task_spec"] == "Root":
continue