05-10-2019 08:12 AM
Hi, i need to store a number wich increments always that i create a new content from a specific type. This is for generate an unique code that contain this unique number. This code will be a property of the new content.
Are there any created type or aspect that implements this?
If the answer is no, How can i implement this?
i want it in workflow as soon as possible..
05-13-2019 02:53 AM
no OOTB way. There are several ways to implement this, one way would be to create an aspect and implement a repository behavior on the type of file to check the latest number (or better - keep this counter out of the repository) and provide the current file with the incremented value. Jeff has put up an amazing tutorial on getting started with behaviors in alfresco that might help you getting started.
Explore our Alfresco products with the links below. Use labels to filter content by product module.