Currently when the job completes and the export file is generated the job status is set to Success. However, sometimes the file is created but only a part of the export succeeds due to some records erroring out.
- For the jobs that exported successfully are the records set the status to: Completed
- For the jobs that exported with some errors to: Completed with errors
Corresponding UI story is https://issues.folio.org/browse/UIDEXP-145
- The appropriate status is displayed for jobs with and without errors
- Migration scripts are created and tested
- Unit tests are written
- API tests are updated/written