Skip to main content
7-Bedrock
February 19, 2019
Question

OIR algorithm AndTest and OrTest syntax

  • February 19, 2019
  • 1 reply
  • 1749 views

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
February 20, 2019
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"/>