I am uploading an Alfresco file, I need get the file from documentLibrary dynamically, how can I do this? .bpm20.xml is possible.
 var dest= companyhome.childByNamePath("Sites/test/documentLibrary/"+${trainername});
     bpm_package.addNode(dest);
Please help out
 
     
     
    