TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces Activity EventListener – How to identify if the Event was created for a new inserted tuple or modified/overwritten tuple?
book
Article ID: KB0087493
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces
-
Not Applicable
-
Description
Resolution: Description: =========== TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces Activity EventListener – How to identify if the Event was created for a new inserted tuple or modified/overwritten tuple?
Environment: =========== TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces 2.x . All Operating Systems.
Resolution: ======== There is no option/parameter available in the Activity EventListener to identify if the tuple has been updated or is new. To achieve this we recommend adding a new field to be able check/filter the contents of the field and update the field when the tuple has been handled first time by the listener.
One option for the implementation is to add a filter string to the listener and check the new field (FLAG).
Flag=NEW, then EventListener only trigger new tuple Flag=Old, then EventListener only trigger old tuple
Issue/Introduction
TIBCO ActiveMatrix BusinessWorks Plug-in for ActiveSpaces Activity EventListener – How to identify if the Event was created for a new inserted tuple or modified/overwritten tuple?