Commit fcae4da8 authored by Eteri's avatar Eteri

workflow: assign value to fix UnboundLocalError bug

parent b8e27caf
...@@ -860,6 +860,7 @@ class Workflow(XMLObject): ...@@ -860,6 +860,7 @@ class Workflow(XMLObject):
continue continue
expr = None expr = None
value = None
if variable_id in transition_expression_dict: if variable_id in transition_expression_dict:
expr = transition_expression_dict[variable_id] expr = transition_expression_dict[variable_id]
elif not vdef.getAutomaticUpdate() and variable_reference in former_status: elif not vdef.getAutomaticUpdate() and variable_reference in former_status:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment