Skip to content

KeepFilters

KeepFilters(predicate) · Context

KeepFilters(pred) is identical to writing the bare predicate in Calculate — it adds a filter that intersects with the outer context. It exists so filter intent can be spelled explicitly; both forms compile the same.

OpenSRCount := Calculate(
Count(ServiceRequest.Id),
KeepFilters(ServiceRequest.Status = "Open")
)