The Credential Processing Agent will accept document order item from the Document Processor and process these order items synchronously to generate the Credential that will be later delivered to a print or digital delivery agent as a result of the processed document order item(s).
The process begins with the Credential processing agent receiving the order item that is to be processed.
Credential document order items will be validated for the following validation rules. If the validation rule fails, the document order item’s status will be updated to ‘System Hold’. The Credential Processing Agent for all credential document order items performs the following validations:
Validation errors orders are stored in a common location regardless of the type of order. Document Generation Error create an error record in the appropriate table for each validation error that occurs. The system stores both the validation error code and the validation error description in the Document Errors table.
If the document order item of a document type for credentials has one or more validation errors, update the Document Order Item Status to ‘System Hold’; Document Order Item Status Change Reason will be set to “Document Order with No Address”“.
Once a credential order item passes all validations, a Document Order Item File record will be created that will contain the Credential (PDF).
The PDF document will be created based on the document language specified in the document order item, as well as whether the Document Order Item is for a first run (or re-order of a first-run) credential, OR a reprint credential. Credential documents can be printed in either French or English.
See the First-Run Credential Letter (PDF) Specification for more information on the generated cover letter and credential for first-run orders.
Where the order item is a result of a Credential Reorder or a first-run order, the document generated will reflect the same document in the original order with the appropriate letter.
See the Reprint Credential Letter (PDF) Specification for more information on the generated cover letter and credential for reprint orders.
A credential reprint order may be delivered digitally or physically printed and delivered manually.
Where the order item is a result of a Credential Reorder or a first-run order, the document generated will reflect the same document in the original order with the appropriate letter.
The following diagram illustrates how the Processing Agent determines whether the document generated should be the first-run or the reprint document:
As part of the processing, the credential processor will set the Special Handling Status to ”Outstanding“ based on the Document Order item Delivery Method as follows:
All other delivery methods will have the Special Handling Status set to ”Not Required“.
The Document Number representing the Credential PDF is produced and stored. Document Number is a unique number of a minimum of 11 digit to a maximum of 12 digits.
If the document order item has a validation error which relates to Student Hold then:
If the document order item has a validation error which does not relate to Student Hold then
If there are no errors - As a final stage in the production of the Credential PDF, the status of the credential order item will be updated to “Ready for Delivery” upon successful processing.
The Processed on Date should be set based on the system date and time at the time of processing, whether successful or when errors occurred.
NOTE: XML data is not populated for Credential Document Order as there are not downstream systems that will consume this information.