Skip to content

Load two files with same name, but different extention. #9

@Victorioux

Description

@Victorioux

Hello @njcaruso

I have a workflow that loads a XML file, read the xml's nodes and creates me a TXT with the extracted values. At the end, it load it to Docushare.

Those files are Invoices, but here in Mexico there ar two files, the XML and the PDF. So, I want to load both files at the same time, do OCR to the PDF, and the normal nodes extraction to the XML. But the condition to load both files at the same time, is that both must have the same name.

Example:

Loads both files and do the process.
Invoice001.xml
Invoice001.pdf

It doesn't load the files because it must be a PDF and XML with the same name.
Invoice001.xml
Invoice.pdf

I already did it only with the XML, but i have no idea how can I do it with the PDF.

Here's the CFG.
CFDIs a Docushare.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions