Configure a Document conversion activity

  1. Add an activity to the map.

    By default, the Configuration tab is open in the properties panel of the activity.

  2. Change the default Name of the activity to something meaningful.
  3. On the Type list, select Capture > Document conversion.
  4. On the Input document/folder list, select a variable to configure input for the Document conversion activity.
    Note When you enable any of the following options in the Document conversion profile, you must only select a folder variable and not a document variable.
    • Enable Portfolio PDF extraction
    • Enable ZIP extraction
    • Concatenate multiple PDF files
  5. On the Conversion profile list, select a profile for document conversion.
    Note It is mandatory to select a document conversion profile.
  6. To convert the password protected PDF files to TIFF or PDF or PDF/A, on the Password list, select a list of passwords. The password list is a Dynamic complex variable.
    Note
    • To avoid any potential security concerns, following should be part of a synchronous process in TotalAgility map:
      • The Dynamic complex variable containing the passwords.
      • The SDK method to encrypt the passwords.
    • Conversion of password protected PDF Portfolio and ZIP files is not supported.
    • In the process map, the TotalAgility Designer user needs to:

      1. Create a custom node that will populate a dynamic complex variable with a list of plain text passwords.

      2. Add a separate node to call the exposed TotalAgility SDK method (EncryptStrings method in ServerService service) to encrypt the array of plain text passwords.

      3. Pass the encrypted array to the document conversion node as Dynamic complex variable.

      The document conversion node will try to open the PDF with the provided passwords until it succeeds. If none of the passwords are successful, the document conversion fails.

  7. Save the process map.