01-10-2018 07:01 AM
hello
i am new in activiti and i have a question :
i need to know the path of related content file ?
and how i can add related content from JavaDelegate ?
i need help !!!!
01-10-2018 11:04 AM
You should be able to use the RelatedContentService APIs to do that.
If you are using Alfresco Process Services (Enterprise version), I may have some examples in my repo...one of them is activiti-examples/activiti-copy-attachments-from-parent-process at master · cijujoseph/activiti-exam...
01-11-2018 02:12 AM
Thanks brother,
but i use the activiti community edition if you have another solution ?
i start with POST request in activiti REST it is the true way !
01-11-2018 09:08 AM
You can use the REST API, that's fine. You can also the relatedContentService, which is available in community edition V6 as well - Activiti/RelatedContentService.java at 6.x · Activiti/Activiti · GitHub
Also if you want to get the actual path from the storeId, you can use this class - Activiti/PathConverter.java at 6.x · Activiti/Activiti · GitHub
Ciju
01-15-2018 08:13 AM
thank you very much.
but i need an example with RelatedContentService if some one have it ?
Explore our Alfresco products with the links below. Use labels to filter content by product module.