Convert document
Converts documents between different data types (such as from docx to pdf). You may use the internal conversion services (LibreOffice or Windows Word), or the external conversion solution, Zamzar. For Zamzar you will need your own API key and subscription. For a list of available conversions, refer to the Zamzar website.
You can download this system service from Grexx Marketplace.
Input
Use a casetype activity to add inputs to the Start Systemservice convert document.
| Attribute | Data type | Mandatory? | Description |
|---|---|---|---|
| Input file | File | Yes | File to convert. |
| Input type | String | No | File format. If not specified, the format is detected automatically based on the extension. We recommend specifying the format where possible. |
| Output type | String | Yes | Format you want to convert the file to. |
| Use test API | Boolean | No | Use the Zamzar test API? Default: false (production API is used). |
| Zamzar API key | String | Yes | The Zamzar API key to use. |
| Algorithm | String | Yes | Determines what service is used for conversion. (e.g. LibreOffice, Windows Word, Zamzar) |
| Remove complex fields | Boolean | No | Whether or not to remove complex fields like SDT's during LibreOffice conversion |
Output
Outputs are added to the Result Systemservice convert document form when the Systemservice convert document case is
closed.
| Attribute | Data type | Mandatory? | Description |
|---|---|---|---|
| Output file | File | No | File converted to selected output type. |
| Output files | File (multivalue) | Yes | File converted to selected output type. Some conversions result in multiple files. Refer to the Zamzar documentation for details. |
| Status | String | No | OK indicates that everything went according to plan and you can assume the output file is correct. Any other value indicates the output file cannot be trusted or could even be empty. |
| Messages | String (multivalue) | No | Messages from the conversion. |