程序
當設定變更通知或任務範本值應與變更通知或任務建立不同之屬性值的引數時,請使用 wt.rule.algorithm.BooleanBranch 值演算法並測試 template.templated 屬性是否設定為 True。第一個引數適用於變更通知或任務範本,第二個引數用於變更通知或任務。
<!-- if (template.templated) -->
<Value algorithm="wt.rule.algorithm.BooleanBranch">
<!-- test this value -->
<Attr id="template.templated"/>
<!-- if true -->
<Arg>Value for change notice or task template</Arg>
<!-- if false -->
<Arg>Value for change notice or task</Arg>
</Value>
這是否有幫助?