mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
Take this garbage out
I can say that because I originally wrote that garbage
This commit is contained in:
parent
962cf7c32c
commit
f9fbb32641
@ -381,11 +381,7 @@ class WorkflowService(object):
|
||||
def evaluate_property(property_name, field, task):
|
||||
expression = field.get_property(property_name)
|
||||
|
||||
data = copy.deepcopy(task.data)
|
||||
# If there's a field key with no initial value, give it one (None)
|
||||
for field in task.task_spec.form.fields:
|
||||
if field.id not in data:
|
||||
data[field.id] = None
|
||||
data = task.data
|
||||
if field.has_property(Task.FIELD_PROP_REPEAT):
|
||||
# Then you must evaluate the expression based on the data within the group, if that data exists.
|
||||
# There may not be data available in the group, if no groups where added
|
||||
|
Loading…
x
Reference in New Issue
Block a user