In TIBCO BusinessEvents Decision Manager, what is the syntax to have conditional operators for comparing multiple values?

In TIBCO BusinessEvents Decision Manager, what is the syntax to have conditional operators for comparing multiple values?

book

Article ID: KB0084776

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO BusinessEvents Decision Manager,

1). Is it possible to combine 2 or more values in a condition column? What is the correct syntax to write a condition using a logical OR ??

2). Are primitive types supported in the action area?

Environment:
==========

TIBCO BusinessEvents (TIBCO BE) 4.x / 5.x
All OS.

Symptoms:
=========

1). When using multiple values in a condition column such as  "John Doe" || "as" , the following error is thrown:

operator || incompataible with types boolean,"string" error in the studio.

Resolution:
==========

1). When using logical operators in a condition column, set the values as follows:

=="John Doe" || =="as".

2). Primitive types coming from virtual RuleFunction arguments are  immutable and cannot be added to the action area. In order to change such values, pass them as part of some concept string property which the table operates on.

Issue/Introduction

In TIBCO BusinessEvents Decision Manager, what is the syntax to have conditional operators for comparing multiple values?