cancel
Showing results for 
Search instead for 
Did you mean: 

workflowService.getDefinitions() returns null

vinkk
Champ in-the-making
Champ in-the-making
Hi ,

iam trying

List<WorkflowDefinition> wDefList = workflowService.getDefinitions();

but returns error, previously it was working, after dropped and modified the database,it gives error.

is it possible to see the workflow information in some xml files ???

thanks
vinkk
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
What is the error?   Can't help without it.

vinkk
Champ in-the-making
Champ in-the-making
Hi

i get following errors,

Wrapped Exception (with status template): Namespace prefix bmdlingwf is not mapped to a namespace URI
<tr><td></td><td>org.alfresco.service.namespace.QName.createQName(QName.java:105)</td></tr>
         <tr><td></td><td>org.alfresco.service.namespace.QName.createQName(QName.java:127)</td></tr>
         <tr><td></td><td>org.alfresco.repo.workflow.jbpm.JBPMEngine.getTaskDefinition(JBPMEngine.java:1833)</td></tr>
         <tr><td></td><td>org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowTaskDefinition(JBPMEngine.java:2850)</td></tr>
         <tr><td></td><td>org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowDefinition(JBPMEngine.java:2788)</td></tr>
 

checked in  workflowconsole with

show workflows all

and i get this result

id: jbpm$1 , desc: newone , start date: 2009-08-14 14:23:57.0 , def: jbpm$wf:adhoc v1

thanks
vinkk

mrogers
Star Contributor
Star Contributor
So it's complaining about the following namespace, "bmdlingwf",  I presume its one of yours?  
It is certainly not Alfresco's.

Have you got configurations of your workflows which use this namespace, if so then double check you have defined the namespace correctly.    Use the existing alfresco workflows as examples.

vinkk
Champ in-the-making
Champ in-the-making
Hi,

Thanks for the reply, but i cannot see that perticlar namespace "bmdlingwf" ,

can you please aadvice me if exhists where is the possible locatioin of this namespace "bmdlingwf" ?

i dont remember i created such name space.

thanks
vinkk