6.2.4.3. Creating and Updating Documents
Documents are created and updated during message processing using the document extractor extra processings on the message in and on the message out. Note that this is the only way to change document content. No manual changes are ever possible. All changes are tracked and visible in the detailed document view.
If you are tracking your invoices and are also receiving updates to your invoice's status for example, you might want to track both the content and the status of your invoice in the same document view. This can be achieved by using a field named "UniqueKey" of type String:
You will need to choose a key that
- you are sure to be able to calculate from each message
- and that will be unique across your document type
For example, invoice number for an invoice document:
When you use this mechanism, the system will check for an existing document with this unique key. If it exists, the values you extracted will enrich the existing document. If not, it will create a new document. Thus you can update the same documents from multiple channels.