Create an Automatic Collaboration Rule Entity
This section describes how an automatic collaboration rule entity can be created
What does this section cover?
Create an Automatic Collaboration Rule Entity
In order for an entity to be available to Automatic Collaboration Rule Mechanism, it has to meet the following conditions:
1. Data Object Class
The entity's DO class must extend CRMDOTransactionalEntity and implement ICRMDOAssignableEntity interface and its methods:
- getLCState()
- setLCState(LifeCycleState lifeCycleState)
Note that the following objects are defined in CRMDOTransactionalEntity super class and whichever apply to you must be mapped to your database fields:
- CRMDOType type
- CRMDOStatus status
- CRMDOCategory category
- CRMDOGroup group
- CRMDOUnitGroup ownedByGroup
- CRMDOPrivacyLevel privacyLevel
- CRMDOUnit assignedToUnit
- CRMDOUser assignedToUser
2. Entities Metadata File
- <acrexcluded> tag's value must be set to false. Keep in mind that <acrexcluded> default value is false, so in such cases, it can be omitted.
- <typeentityid>, <statusentityid> and <stateentityid> tags must be defined whenever a type, status and/or state entity exist.