We have developed an API that retrieves the remaining patch details across all operating systems, including hostname, OS information, and the list of applicable patches. Currently, we are excluding superseded patches using a basic string match condition:
name of it as lowercase does not contain "superseded".
While this approach provides a general filter, we now intend to enhance the accuracy of the results by using a superseded flag for more precise filtering.
i have tried few approaches, Unfortunately, all resulted in errors.
- and not (is superseded of it)
- and not (exists flag whose (it = "IsSuperseded") of it)
- Names of fixlets of bes site whose (name of it = "Patches for Window") whose ( fixlet flag of it AND applicable computer count of it > 0 AND not superseded flag of it )
Error: The operator "fixlet flag", "superseded flag", “flag” is not defined.