Activate the Rule SAVEJOBDAYS. This rule demands a Rule Value, and you
enter the number of days that you want to keep info in the Job History tables.
Each time the job is started, it will check the history tables and remove transactions
older than given number of days, counted backwards from SYSDATE
This rule will make a history logging each time the job is started. If you do
not want to have a history logging of OK jobs,
activate rule SAVEJOBERR in addition to SAVEJOBDAYS :
You may invoke the History Logging in two ways:
There is one Overview window, containing 1 row for each time the job is executed. History details with error rows can be invoked from RMB menu choice.
If you want an event to occur after the job is executed, activate Rule EVENTMESS :
Now , if the job terminates with error, the message NOTIFY_ERROR_JOB is sent
to Event Server, otherwise NOTIFY_FINISHED_JOB is sent.
The events may be configured from IFS Solution Manager.