Automic Workload Automation

 View Only

 Script

Hima Bindu Khambhammettu's profile image
Hima Bindu Khambhammettu posted May 23, 2023 06:53 AM

Hello Team,

We are trying to develop a script for sap job where the report log shows "0 detection objects selected for processing"

we need to apply condition as such that "if 0 detection objects were found" in the report log it should trigger a email alert to respective stake holders.

This is detected based on below selection objects in SAP

Please suggest and assist in developing the script.

Thanks and Regards
Hima Bindu K

Markus Embacher's profile image
Broadcom Employee Markus Embacher

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

Bastian Fischer's profile image
Bastian Fischer

prep_process_report and sendmail at Post Process?

Alain Moisy's profile image
Alain Moisy

Hi,

Just be careful of which report you are scanning as there is multiple report types for SAP Jobs ....

Regards.

Alain