Hello,
After trying to deploy my custom workflow by adding or editing <>-workflowModel.xml, <>-workflow-context.xml I am not able to login to Alfresco Share or Alfresco Explorer > Authentification failed
(Ihre Authentifizierungsdaten wurden nicht erkannt oder Alfresco ist zurzeit nicht verfügbar.)
org.alfresco.error.AlfrescoRuntimeException: 07010018 Workflow deployment failed
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:345)
at org.alfresco.repo.workflow.WorkflowDeployer$1$1.doWork(WorkflowDeployer.java:469)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.repo.workflow.WorkflowDeployer$1.execute(WorkflowDeployer.java:465)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:460)
at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
….
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 07010017 Could not import bootstrap model alfresco/extension/activiti-apa-worklfowModel.xml
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:158)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:105)
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:263)
… 28 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 07010016 Failed to compile model ktb:apaModel
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:108)
at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:163)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModelImpl(DictionaryDAOImpl.java:315)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:298)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:154)
… 30 more
Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix ktbwf is not mapped to a namespace URI
at org.alfresco.service.namespace.QName.createQName(QName.java:102)
at org.alfresco.service.namespace.QName.createQName(QName.java:124)
at org.alfresco.repo.dictionary.M2ClassDefinition.<init>(M2ClassDefinition.java:90)
at org.alfresco.repo.dictionary.M2TypeDefinition.<init>(M2TypeDefinition.java:42)
at org.alfresco.repo.dictionary.CompiledModel.constructDefinitions(CompiledModel.java:149)
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:88)
… 34 more
The whole proces of deploying a custom workflow is very complex.
I have tried to make a custom workflow with 2 'review and approve' steps without using custom forms and only deploying my process definition <>-bpmn20.xml. Doing this I was not able to get past the first decision gateway. But that is another issue.
I would greatly appreciate any hints or advice on how to get my custom workflow running.