Email Error notification: When a converted package submission from PDF2XML vendor results in a Tagging error status, notify the PDF2XML Vendor and System Admin
Context
This email use case applies to:
- Submissions of converted packages in the PDF workflow to the BCMS prior to loading to PMC
- Kafka topics: submit_apex_package_receipt
- BCMS generated error as developed in #804
Proposal
- When BCMS receives an error report for the above topic with Status=3 send email notification to the PDF2XML vendor and System Admin. (see related development completed in #566 (closed))
- When Vendor submits Chapter package with a converted file that does not have the same filename as the existing source file, send email notification to the PDF2XML vendor (see related development completed in #804) and System Admin
Email template for chapter
From: NCBI Bookshelf
Date: [Date email sent]
To: [User email]
Subject: Failed to process: Chapter [Title of component] in [Book Title] ([BCMS ID])
Your chapter [Title of component] in [Book title] belonging to the organization [Organization name] failed to process.
Please find a list of errors below:
[List All ERRORS and QUERIES that result in Tagging error status]
If you have any questions about this email, please contact the NCBI Bookshelf at booksauthors@ncbi.nlm.nih.gov.
Thank you,
NCBI Bookshelf
[Main BCMS link]
[Bookshelf public site link]
Email template for book
From: NCBI Bookshelf
Date: [Date email sent]
To: [User email]
Subject: Failed to process: Book [Title of component] ([BCMS ID])
Your book [Title of component] belonging to the organization [Organization name] failed to process.
Please find a list of errors below:
[List All ERRORS and QUERIES that result in Tagging error status]
If you have any questions about this email, please contact the NCBI Bookshelf at booksauthors@ncbi.nlm.nih.gov.
Thank you,
NCBI Bookshelf
[Main BCMS link]
[Bookshelf public site link]
Example email for chapter
From: NCBI Bookshelf
Date: [Date email sent]
To: [User email]
Subject: Failed to process: Chapter Search in Bookshelf Help (bcms789123)
The chapter Search in Bookshelf Help from the organization National Institutes of Health failed to process.
Please find a list of errors below:
The converted file name must match the source file name.
If you have any questions about this email, please contact the NCBI Bookshelf at booksauthors@ncbi.nlm.nih.gov.
Thank you,
NCBI Bookshelf [Main BCMS link] [Bookshelf public site link]