Got it.
One of the options is to get the nodeId on the server side using relatedContent JAVA APIs of Alfresco Process Services and set filePath variable on server side. I have attached an example app where I put the logic in a groovy script task.
Second option is to get it using the REST APIs and populate your filePath using javascript in the formFieldContentUploaded() extension Start and task form customization | Alfresco Documentation.
Hopefully the first option will suffice!
The example app worked.Awesome. Thanks.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.