Hello, I am trying to create a workflow for alfresco 4.2.
I found this tuto for the version 5.2, and I use it for the inspiration: Creating Custom Advanced Workflows in Alfresco | ECMArchitect | Alfresco Developer Tutorials
And I am actually stuck:
my questions are:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflow-platform-jar.dictionaryBootstrap' defined in class path resource [alfresco/module/workflow-platform-jar/context/bootstrap-context.xml]: Invocation of init method failed; nested exception is org.alfresco.service.cmr.dictionary.DictionaryException: 08210000 Could not find bootstrap model alfresco/module/workflow-platform-jar/model/content-model.xml
[...]
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 08210000 Could not find bootstrap model alfresco/module/workflow-platform-jar/model/content-model.xml
error following by this when I try to log on alfresco:
2017-09-21 13:57:00,365 ERROR [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-3] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 08210001 GetModelsDiff return status is 404
Solved! Go to Solution.
The extension of the BPMN files changed across releases.
The Spring context file config hasn't really changed, but pay close attention to the model name. Your error says it cannot find "content-model.xml". The tutorial used "scWorkflowModel.xml". Whatever name you ended up using for the actual file, make sure it matches what is in the Spring config.
The extension of the BPMN files changed across releases.
The Spring context file config hasn't really changed, but pay close attention to the model name. Your error says it cannot find "content-model.xml". The tutorial used "scWorkflowModel.xml". Whatever name you ended up using for the actual file, make sure it matches what is in the Spring config.
Yes the issue was link to the name .... the auto formating of eclipse added a line break betwen the file path and the </prop> tag ....
this:
<props>
...
<prop key="location">alfresco/module/${project.artifactId}/workflow/helloWorld.bpmn
</prop>
...
</props>
should be correct in:
<props>
...
<prop key="location">alfresco/module/${project.artifactId}/workflow/helloWorld.bpmn</prop>
...
</props>
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.