09-21-2017 09:50 AM
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
09-21-2017 06:23 PM
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.
09-21-2017 06:23 PM
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.
09-27-2017 04:01 AM
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>
Explore our Alfresco products with the links below. Use labels to filter content by product module.