Transition not fired on Statemachine when starting more than one Inference Agent.

Transition not fired on Statemachine when starting more than one Inference Agent.

book

Article ID: KB0091130

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Transition not fired on Statemachine when starting more than one Inference Agents and the Events are processed in a different order as defined in the Statemachine. The Event will be consumed in State Transition (ttl for Event is -1, ObjectManagement "Memory only" or "Cache + Memory").

Environment:
===========
All BE versions
All Operating Systems

Symptoms:
=========
State Transition not fired. Event will not be consumed.

Cause:
======
The Event will be processed and added to RETE by a single Agent only. The transition will not be fired if the other agent handles the second Event after the first Event was processed by another agent.

Resolution:
========
It's required to update the project design.

1).  Change ObjectManagement settings for the Event.

2).  Create an additional concept which holds the event ids in a property array.

3). Add a new Rule with lowest priority for the input Event and create/update the concept array if the Rule gets processed (Event not consumed in Transition).

4). Load all Events .(Coherence.C_CacheLoadEventById()/Cluster.DataGrid.CacheLoadEventById()) in PreProcessor Rulefunction to fire the transitions if the order of input Events was not in the correct sequence.

Issue/Introduction

Transition not fired on Statemachine when starting more than one Inference Agent.