Object Model: EntityManager
From Business Process Management, BPM and Workflow Automation Wiki | BizAgi BPMS
<keywords content="keywords"> entity manager </keywords>
Contents |
Advanced Functions of CEntityManager
This article lists the functions available in the CEntityManager object of Bizagi for advanced business rules.
The CEntityManager class contains functions which are useful to obtain records and general informaiton directly stored in Bizagi's entities (even virtual ones).
Its use is specially promoted to obtain records of parameter entities.
The functions presented by the CEntityManager allows handling information in the data base. In Expressions, for example iterate over fact, these functions are used. It is suggested to use them ONLY if it is entirely needed for compatibility with previous versions or if no other ways to access data is possible (mainly Xpath). The most common functions are explained below:
Note: It is very important to point out that EntityManager should only be used to get and work with entities that are not related to the case and that CANNOT be accessed directly by surfing the data model with XPath. This is because EntityManager does not get the data from the Scope, but from the Database directly. Thus the information that has not be persisted yet is not going to be found by the EntityManager. |
Functions
The "getAttrib" and "setAttrib" functions are also available in the CHelper object.
Related Articles
- CHelper object for other advanced functions in expressions
- General overview of rules in Bizagi.
- Using the CEntityManager in advanced expressions.
<comments />