Skip to main content
7-Bedrock
Feb 19, 2019 9:53 PM UTC
Question

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

17-Peridot
Feb 20, 2019 3:47 PM UTC
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"/>
Translate