Skip to main content
  1. Open the project on the Project Setup Station.
  2. Click ProjectProject propertiesGeneral and make sure that Export root path field is empty.
  3. Then you need to configure the export profile. Open the list of document definitions in the project. For the required document definition, open the Document Definition Editor, go to Export settings, add the New export profile. Choose Type: Export to data files, enable Save document images option if required.
  4. Next, determine the conditions for applying your export profile. Select the option Errors are irrelevant if you want to export both documents without rule errors, and documents with such errors.
  5. Select Target: Create folder structure and filename using template. Leave the Export path field empty.
  6. Specify a Template for naming export files (TemplateEditView: Advanced→ use tags to specify Filename template). Batch created by UiPath FlexiCapture Activity contains the Registration Parameter FileNameWithoutExtension with the name of the source file. You can specify Filename template: <RegParam: FileNameWithoutExtension> to use the name of the source file for naming export files. You can also use any tags from the Tags list to specify the Filename template.
  7. Value of “If file exist” option is irrelevant in this case. Set Add suffix to name of new file.
  8. Next, set the settings for the Data File Format. Select File type: XML Document (* .xml).
    Note: If the format of the export file is XML, then the activity will be able to get the array of document fields. At this step, you can define the fields you want to export, and also specify the names for the fields. To do this, click Set Up Field Mapping….
  9. The next step is to select the option Save images with data. Select the Template of image file names (Same as data, or specify a separate). If you want you can set the option Redact sensitive data on images.
  10. Select the image file format.
  11. The last step is to set the name for the created export profile. After the new profile is created, you need to check the Enabled flag for it.
  12. Check the Critical flag for the profile to make it required for execution. Then you need to save the changes in the document definition and publish its new version.
Additionally, you can configure any export format you need in FlexiCapture. For example, you can choose to save the source file as a searchable PDF, export document data to other formats like XLS, or save image fields containing signatures or stamps detected on the document. All of these exported files will become available in UiPath.