Procedure
When setting the argument for an attribute value in which the change notice or task template value should be different than for the change notice or task creation, use the wt.rule.algorithm.BooleanBranch value algorithm and test if the template.templated attribute is set to True. The first argument is for change notice or task template and the second argument is used for the change notice or task.
<!-- 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>
¿Fue esto útil?