How to create an array of Events

How to create an array of Events

book

Article ID: KB0071170

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.x/6.x

Description

How to create an array of Events or Concepts in a Rule or Rulefunction 

Issue/Introduction

Create array of Events with specific size

Environment

All Operating Systems

Resolution

To create an array of Events or Concepts use:
<entityURI>[] <varName> = <entityURI>[<arraySize>]{};
e.g.,
int iSize=10;
Events.sampleEvent [] arrSampleEvents = Events.sampleEvent [iSize]{};