Posted Mon, 17 Jun 2024 08:11:57 GMT by Miquel Sanz Vargas Técnico
Hi there,
I'm setting up a basic Workflow and I need to be able to take one document from a File Cabinet and send it to another one. 

Is there a way to do this? Everything I see it's just to modify indexes from external File Cabinets.

Thanks in advance!
Posted Mon, 17 Jun 2024 08:43:30 GMT by Simon H. Hellmann Toshiba Tec Germany Imaging Systems GmbH IT-Consultant Document Management Solutions
Hello Miquel Sanz Vargas,

for moving or copying files between different cabinets, you should use the transfer module.
Workflow can currently not do this without putting in a lot of effort.

Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant
Posted Mon, 17 Jun 2024 08:48:12 GMT by Miquel Sanz Vargas Técnico
Thank you for your help, I appreciate it!
Posted Fri, 28 Jun 2024 17:31:09 GMT by Thomas Stephens
I have had some success using the Docuware API from a workflow, 7.9+

made a quick guide here if you feel comfortable setting up a web service.

Web service
    Web Service = Docuware Platform API
    Endpoint = Post /FileCabinets/{TratId}\FileCabinet}/Task/Transfer
 
Web service
Web Service = Docuware Platform API
Endpoint = Post /FileCabinets/{TratId}\FileCabinet}/Task/Transfer
Request Route = File Cabinet ID to Send the Document (Typically a
Global Variable)
Query = StoreDialog ID
Encoding (Nothing to change here)
HTTP Header First Entry Accept (Nothing to change)
2nd Entry Content-Type update the FixedEntry = application/vnd.docuware.platform.documentstransferinfo+json
HTTP Body Your JSON.
        {
            "SourceFileCabinetId": "GV_Accounting__FC",
            "Documents": [
        {
            "Id": "GV_PO__DOCID",
            "Fields": null
        }
        ],
            "KeepSource": true,
            "FillIntellix": false,
            "UseDefaultDialog": false
    }
 
GV_Accounting__FC and GV_PO__DOCID
 
Variables still get quotes
Responce (This is where you review the respoce of your test data for troubleshooting.)
Assign Data possible to get the values from the new document stored and assign to variables if needed.
HTTP Re8sponse (Nothing to change here)
Note: "KeepSource" = true/false Case Sensitive

Hope this helps. I have seen a few KB articles that detail this a bit better.

You must be signed in to post in this forum.