cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

OIR algorithm AndTest and OrTest syntax

Regular Member

OIR algorithm AndTest and OrTest syntax

Dear All. 

 
Have any of you OIR experts have any syntax examples for the below algorithms that you revwilling to share I can not find anything in the support data that shows how to enter multiple attributes and values. 
 
wt.rule.algorithm.AndTest
wt.rule.algorithm.OrTest
 
Best Regards
 
David Bailey
1 REPLY 1

Re: OIR algorithm AndTest and OrTest syntax

I haven't yet tried it, but I would try it like this...
 
<Value algorithm="wt.rule.algorithm.AndTest">
      <Value algorithm="wt.rule.algorithm.IfNotNullTest">
             <Attr id="NameEN"/>
      </Value>
      <Value algorithm="wt.rule.algorithm.IfNotNullTest">
             <Attr id="NameDE"/>
      </Value>
</Value>
<"If true"/>
<"if false"/>