Hi,
please have a look at the Automic FILTER object:
https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Objects/obj_Filter_Example.htm
It allows you to filter the report and react on it's content without scripting.
Regards, Markus