How can I copy a document to file system?
I tried using Groovy script:
String source = reportPDF.getUrl ()
String destination = '\\\\192.168.1.9\\Documents\\Clients\\Demo Client\\Reports\\'
File.copy (source, destination)
But .getUrl () doesn't have the full path of the document.
The idea is that once the document is validated with a human task, it is copied to the clients' folders automatically.