Kofax TotalAgility - How to get the MimeType of a Document
Applies to
Kofax TotalAgility v7.x
How to get the MimeType of a Document
We can easily access the MimeType of a document using the Document Variable in a process
If our process is configured to use a Folder variable, we can simply loop through the Folder to access each Document
Required:
- Process with Document Variable
- KIC Import configured
For a process configured with a Folder Initialisation variable, please configure a loop and then follow these steps on the loop iteration:
- Add a manual node
- On the input of the manual node map in the Document.System property 'MimeType'
i.e. Click on the Document Variable, Click on System, then choose MimeType:
- Using your KIC import, ingest various document types (.pdf, .tiff, .png, .jpg)
- Wait for your manual activity to become pending
The MimeTypes will be displayed as follows:
application/pdf
image/tiff
image/jpeg
image/png
This article was to demo how we can access this property,
We can then use it in decision nodes etc as required