I am trying to get the filename, or the ID the file on wich a task was launched, either from your right click menu or a change state from the workflow. I see that they are stored in the ppodata, but can't seem to get them.
I have a program that does all the work needed after this, but to launch it I need the filename of the mother file to which all others are referenced. For example, The document is an excel file in which I list all the new revisions and changes done to drawings. The Drawings are references to this file. So basically, I call the excel file, and it automatically gets latest on all DRWs, does the appropriate modifications (create pdf, add full size watermark on PDFs, and stores these.