Example: Sending a E-mail Notification from a Post Process Script
RA Hyperion FDMEE Agent Jobs are fully integrated with the Automic Workload Automation product. They allow the use of the Automation Engine scripting language.
In the example below, a post process script sends an e-mail notification when more than the two expected reports are created.
Text from this example is included below:
! count reports
:SET &COUNT# = 0
:SET &HND# = PREP_PROCESS_REPORTLIST()
:PROCESS &HND#
: SET &COUNT# = &COUNT# + 1
:ENDPROCESS
! send mail when more reports than normal report and one fdmee log is found
:IF &COUNT# > 2
: SET &RET# = SEND_MAIL(fdmee@automic.com,,"Multiple reports in FDMEE Job: RunID &$RUNID#","")
:ENDIF
For more information on the Automation Engine scripting language, see you Automation Engine documentation.