Hello, I have to develop a workflow on Alfresco 4.2. I already do this tuto but I am stuck in my development because the features I want to use are not show in this tuto.
Does exist a documentation with all the available type (like d:text, d:int ... used in the model.xml file) and all the different tag for the different xml file (model.xml, share-config-custom.xml ...) ?
Solved! Go to Solution.
For the new commer, here I list all the ressources I used to anderstand and learn to create some custom workflow:
The tuto (in link above) is one of the first think to do. To my mind it just lack of some technical explanation, so you will have to get them by yourself by reading and testing.
Those files (found in the alf_data_dev folder) give me all the default properties and type I could use:
I found a good explanation of the model.xml files on this site: http://alfrescoblog.com/2014/05/19/alfresco-tutorial-custom-content-types/
In eclipse, when you create a new activity diagram, when you do next, you have access to 5 templates, which can give you some example in order to understand how to create a workflow, and more precisely how to assign the same task to multiple user or group ( or how to create a "loop"). I used them as foundation for my work.
Note that the 4 last examples have an error in the script to assign the dueDate of a task:
change this code:
task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate)
to:
task.dueDate = bpm_workflowDueDate
And of course, the documentation of alfresco: 4.2 and Community 201707. One of the difficulty I have with this doc is the format of the javascript API. It is not as easy to read and exploit as a javadoc, but I am not able to tell how to change the format...
For the new commer, here I list all the ressources I used to anderstand and learn to create some custom workflow:
The tuto (in link above) is one of the first think to do. To my mind it just lack of some technical explanation, so you will have to get them by yourself by reading and testing.
Those files (found in the alf_data_dev folder) give me all the default properties and type I could use:
I found a good explanation of the model.xml files on this site: http://alfrescoblog.com/2014/05/19/alfresco-tutorial-custom-content-types/
In eclipse, when you create a new activity diagram, when you do next, you have access to 5 templates, which can give you some example in order to understand how to create a workflow, and more precisely how to assign the same task to multiple user or group ( or how to create a "loop"). I used them as foundation for my work.
Note that the 4 last examples have an error in the script to assign the dueDate of a task:
change this code:
task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate)
to:
task.dueDate = bpm_workflowDueDate
And of course, the documentation of alfresco: 4.2 and Community 201707. One of the difficulty I have with this doc is the format of the javascript API. It is not as easy to read and exploit as a javadoc, but I am not able to tell how to change the format...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.