IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Business rule management programming > Examples > Additional Query Examples

Query by a single property

This is an example of a query by a single property.

List<BusinessRuleGroup> brgList = null;

brgList = BusinessRuleManager.getBRGsBySingleProperty(
		"department", QueryOperator.EQUAL, 		"accounting", 0, 0);
// Returns BRG2

Additional Query Examples