Commit 3583df23 authored by wenjie.zheng's avatar wenjie.zheng

InteractionWorkflow.py: add missing value.

parent 3c61f0b1
...@@ -288,10 +288,12 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow): ...@@ -288,10 +288,12 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow):
return return
if kw is None: if kw is None:
kw = {'workflow_method_args' : args} kw['workflow_method_args'] = args
kw['workflow_method_result'] = result
else: else:
kw = kw.copy() kw = kw.copy()
kw['workflow_method_args'] = args kw['workflow_method_args'] = args
kw['workflow_method_result'] = result
for t_id in transition_list: for t_id in transition_list:
tdef = self._getOb('interaction_' + t_id ) tdef = self._getOb('interaction_' + t_id )
...@@ -551,3 +553,12 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow): ...@@ -551,3 +553,12 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow):
return root return root
return etree.tostring(root, encoding='utf-8', return etree.tostring(root, encoding='utf-8',
xml_declaration=True, pretty_print=True) xml_declaration=True, pretty_print=True)
"""
# Old Workflow structure compatibility for test
variables = self.getVariableValueList()
interactions = self.getTransitionValueList()
worklists = self.getWorklistValueList()
scripts = self.getScriptValueList()
# variables.getStateVar() = self.getStateVariable() # dont know how yet
"""
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