How to edit alfresco content through Activiti BPM

cancel
Showing results for 
Search instead for 
Did you mean: 
cjose
Senior Member II

Re: How to edit alfresco content through Activiti BPM

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!

gets_sanket_pat
Active Member II

Re: How to edit alfresco content through Activiti BPM

The example app worked.Awesome. Thanks.