I has built a custom application that creates automation services jobs (xml files) and runs that job through the client job sender.
The issue is I do not get any notifications / alerts when a job completes or if it errors out. The only way is to look at the DEBUG logs or using the send email task, however I'd like to be able to catch this during execution using the Automation Services API.
Send email task will only allow notification on success, we also need the negative case, on fail, notify 'email@company.com' capability.
This is required capability on ALL automation job executions.
They exit code from ClientJobSender.exe can be used to determine if an error occured. It will have different exit codes depending on the result of the job:
For more information see info about the client job sender in the Spotfire Server Installation and Administration Manual. The functionality has been available since Spotfire 6.0.
This sounds interesting - may I ask more details about the implementation?