Commit 1272ff5b authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py: get worklist reference as id.

parent ca677666
...@@ -389,7 +389,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject): ...@@ -389,7 +389,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
workflow_id = self.id workflow_id = self.id
workflow_title = self.getTitle() workflow_title = self.getTitle()
for worklist_definition in self.objectValues(portal_type='Worklist'): for worklist_definition in self.objectValues(portal_type='Worklist'):
worklist_id = worklist_definition.getId() worklist_id = worklist_definition.getReference()
action_box_name = worklist_definition.getActboxName() action_box_name = worklist_definition.getActboxName()
guard = worklist_definition.getGuard() guard = worklist_definition.getGuard()
if action_box_name: if action_box_name:
......
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