Check the feasibilty on the ucmdb

Hi,

We would like to understand if the requirement below can be accomplished in UCMDB, either through the REST API or by using built-in conditions.

We have created a query to list all CI results. If the query returns zero results, we want UCMDB to trigger an email notification indicating that the results are zero and that action needs to be taken.

The system should only send an email when the query returns zero results.

Can someone please let us know if this can be achieved through UCMDB or the REST API?

Thanks,

Guru