API for managing scheduled jobs configured in integration profiles
The enhancement described and completed in the idea http://ideas.exlibrisgroup.com/forums/308173-alma/suggestions/9592206-api-to-interact-with-alma-job-scheduler is fine as far as it goes, but the current functionality does not allow us to interact with jobs launched automatically by Alma on a periodic basis; it only supports jobs launched manually by a user.
Our use case: we have scheduled periodic uploads of SIS student data
configured in a SIS integration profile. We would like to get a formatted list of rejected users, errors, etc. that happened during the automatic load available as a file on our processing server, so that the list can be parsed by a script and appropriate actions taken (rollback changes for failed updates, notifications via Nagios, etc.), or as data retrieved by an API call.
Ideally, we could launch an API call, giving the automated scheduled job ID as a parameter, and retrieve full information about the job (including a list of records rejected, etc.) in the response.
What we do not want to do is log into the UI after each job, navigate to
the job history, navigate to the job events, and click a button to
download the Excel formatted file so that we can then process it.
Matthew Hooper commented
Maybe an enhancement would be to add a logging option to the job and output using existing S/FTP definition and dump the logs/reports from the job to somewhere that can be parsed? This could be something turned on/off for any user integration profile in the profile settings. That would mean the log reviewing could be done separately to the job.