Sometimes, it is necessary to obtain a list of Rule Objects for a Dynamic Evidence type for a particular Case. For example, a Validation Rule Set might get a list of Rule Objects of a particular Dynamic Evidence Type on a particular Case, and check them against the Case Evidence being validated to perform duplicate checks. Three relevant operations are provided for this:
- getEvidenceListForCase() - Returns a list of Rule Objects pertaining to Case Evidence Records in respect of a particular Dynamic Evidence Type for a particular Case.
- etActiveEvidenceListForCase() - Returns a list of Rule Objects pertaining to Active Case Evidence Records in respect of a particular Dynamic Evidence Type for a particular Case.
- getActiveAndPendingChangesEvidenceListForCase() - Returns a list of Rule Objects pertaining to Active and In-Edit Case Evidence records with no pending updates for a particular Dynamic Evidence Type for a particular Case.