In TIBCO BusinessEvents 5.1.1 Decision Table, if CustomCondition is used to evaluate sub-string functions such as "contains" or "startswith", and the expression contains characters '[',']', the same fails to be evaluated even if all conditions are "true".

In TIBCO BusinessEvents 5.1.1 Decision Table, if CustomCondition is used to evaluate sub-string functions such as "contains" or "startswith", and the expression contains characters '[',']', the same fails to be evaluated even if all conditions are "true".

book

Article ID: KB0092781

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
See Above...
Symptoms:
Custom Condition evaluates to false even though all conditions are "true".

Cause:
Custom Condition evaluates to "false" due to the presence of characters '[', ']'.

Resolution

Remove these characters. For example, this statement resides in your Custom Condition:cString.contains(testevent.InputString2,"[ValidateARPInteraction]")==true 

Change this to the following and test: String.contains(testevent.InputString2,"ValidateARPInteraction")==true


Issue/Introduction

In TIBCO BusinessEvents 5.1.1 Decision Table, if CustomCondition is used to evaluate sub-string functions such as "contains" or "startswith", and the expression contains characters '[',']', the same fails to be evaluated even if all conditions are "true".