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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

OIR algorithm AndTest and OrTest syntax

dbailey-2
7-Bedrock

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

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"/>
Announcements

Top Tags