Commit f04f1f34 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: allow to add causality state in the convertion of worklist.

parent 023e64e5
......@@ -386,6 +386,12 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
state_id = 'state_'+value
state_id_list.append(state_id)
worklist.setMatchedValidationStateList(state_id_list)
elif key == 'causality_state':
state_id_list = []
for value in values:
state_id = 'state_'+value
state_id_list.append(state_id)
worklist.setMatchedCausalityStateList(state_id_list)
worklist.setActboxUrl(qdef.actbox_url)
worklist.setActboxCategory(qdef.actbox_category)
worklist.setActboxIcon(qdef.actbox_icon)
......
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