Why is the concept property still available in the current Rule even after the concept was deleted before using Instance.deleteInstance() ?

Why is the concept property still available in the current Rule even after the concept was deleted before using Instance.deleteInstance() ?

book

Article ID: KB0091124

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Why is the concept property still available in the current Rule even after the concept was deleted before using Instance.deleteInstance() ?

Environment:
===========
All Versions
All Operating Systems


Symptoms:
=========
Concept properties still available in scope of the Rule.


Cause:
======
This is the expected behaviour. The concept will be removed from working memory in PostRTC action.

Resolution:
========
Delete the concept and set the concept variable to null.

Example:
Concepts.testsupport c=Concepts.testsupport.testsupport("teste","test1");
c=Instance.deleteInstance(c);
c=null;

Issue/Introduction

Why is the concept property still available in the current Rule even after the concept was deleted before using Instance.deleteInstance() ?