Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Concept Attributes Reference

Note: When using a concept in a rule’s form editor, type `conceptname``.@` to see the list of its attributes.

You can use the following attributes in the rules to return information about a concept instance.

Entity | Attributes | Type | Returns
--- | --- | --- | ---
Concept | @id | object | The concept instance has unique internal ID.
@extId | string | The concept instance has unique external ID. Optional. The value of the `extId` is set at creation time (for example, using the `Instance.createInstance()` function) and cannot be changed after that. Note: The `extId` value (if set) must be unique across all objects in the cluster. Tip: You can use the property `Agent.``AgentClassName``.``checkDuplicates` to check duplicate `extIds` across the cluster. You can use this property only when the legacy ID lookup strategy is enabled.
ContainedConcept | @id | object | The contained concept instance’s unique internal ID.
@extId | string | The contained concept instance’s unique external ID.
@parent | concept | The parent concept instance. (This is treated as a concept reference in the language.)
ConceptReference | @id | object | The contained concept instance’s unique internal ID.
@extId | string | The contained concept instance’s unique external ID.
@isSet | boolean | Available for any concept property (not for referenced concepts). For example, you can use: `acc.Balance@isSet`. It indicates if a property is assigned or not. If a property is assigned, then `@isSet` returns `true`.

Note: With the new ID (Key-based Lookup), when a new contained or referenced Concept with the same extId is reassigned to the parent concept, the new contained concept fails to get assigned. You must set a contained or referenced concept property to null before deleting a contained or referenced concept:

Example:

    Instance.PropertyAtom.setContainedConcept(testcon.TestCon_property_6,null,1L);
              Instance.deleteInstance(cont);
              // cont1 = new contained concept with same id
             Instance.PropertyAtom.setContainedConcept(testcon.TestCon_property_6,cont1,1L);

Note: When using the new ID (Key-based Lookup), reinstantiating a concept with the same extID without deleting the first concept does not work.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.