I'm using a Publish to Alfresco task in a process, and I want to allow the user to specify the filename that should be used when the file they upload is published. I tried specifying 'cm:name' as one of the parameters in the Publish to Alfresco task, but it won't overwrite the name, and I also tried included 'cm:filename' as an aspect, but that is not recognized by Alfresco and results in an error.
Any ideas?
Solved! Go to Solution.
Hello, I have to reroll this Thread, because I'm stuck at exactly the same problem which should not be that hard, one might think. First, the Link about RelatedContentServices is missing. Then: How does the Script task really look like? Just using " content.setName('newName')" throws an error. What is "content" and how can I access the variable of the uploaded file?
Thanks in advance,
Jannik
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.