Unable to match word using String matches method in decision table
Issue
- When there a description contains a word for e.g. xyz. So provided the match conditions as "\abc\b". But is not working e.g. desc "ABC (xyz)" .
rule "Sample"
salience 8
dialect "mvel"
when
sampleAttr : SampleAttributes( test == "TKS" , accGroup matches ( "\bxyz\b" ) )
then
modify( sampleAttr ) {
setTestKit( "YES" )
}
end
Environment
- Red Hat Process Automation Manager (RHPAM)
- 7.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.