mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 02:54:27 +00:00
added additional details to why we remove the root node from the spiff spec w/ burnettk
This commit is contained in:
parent
a29cbe38f2
commit
c029f4b6d5
@ -432,7 +432,8 @@ class TaskService:
|
|||||||
for task_id, task_properties in tasks.items():
|
for task_id, task_properties in tasks.items():
|
||||||
# The Root task is added to the spec by Spiff when the bpmn process is instantiated
|
# 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
|
# 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":
|
if task_properties["task_spec"] == "Root":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user