Skip to Main Content
Spotfire Ideas Portal
Status Implemented
Product Spotfire
Created by Guest
Created on May 11, 2016

Ability to catch exceptions / errors using the Automation Services API when a job is executed

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.
Implemented in 6.0
  • Attach files
  • Guest
    Reply
    |
    Feb 12, 2021

    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.

  • Admin
    Tobias Lehtipalo
    Reply
    |
    Jun 4, 2016

    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:

    • 0 Success,
    • 1 Command line error
    • 2 server execution error
    • 3 Client execution error

    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. 

  • Guest
    Reply
    |
    Jun 4, 2016

    This sounds interesting - may I ask more details about the implementation?