Commit 00d9b027 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: before processing DC workflow's worklist, check if the...

WorkflowTool.py: before processing DC workflow's worklist, check if the workflow has already been check by new workflow's worklist checker.
parent 15795ae6
......@@ -748,15 +748,17 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
worklist_dict[wf_id] = a
for wf_id in chain:
did[wf_id] = None
wf = self.getWorkflowById(wf_id)
if wf is not None:
a = wf.listObjectActions(info)
if a is not None:
actions.extend(a)
a = wf.getWorklistVariableMatchDict(info)
if a is not None:
worklist_dict[wf_id] = a
# check if the workflow has been checked.
if not did.has_key(wf_id):
did[wf_id] = None
wf = self.getWorkflowById(wf_id)
if wf is not None:
a = wf.listObjectActions(info)
if a is not None:
actions.extend(a)
a = wf.getWorklistVariableMatchDict(info)
if a is not None:
worklist_dict[wf_id] = a
wf_ids = self.getWorkflowIds()
for wf_id in wf_ids:
......
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