Skip to main content

Kofax TotalAgility - How to get the MimeType of a Document

Article # 3014803 - Page views: 328

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


  • 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:

  1. Add a manual node
  2. 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:
  3. Using your KIC import, ingest various document types (.pdf, .tiff, .png, .jpg)
  4. Wait for your manual activity to become pending
    The MimeTypes will be displayed as follows:

This article was to demo how we can access this property,
We can then use it in decision nodes etc as required