cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced-workflow-article

pranay
Champ in-the-making
Champ in-the-making
Hello All,

Iam new to Alfresco and I am looking into the workflow option. I downloaded the source (publish whitepaper sample) and pdf Alfresco Developer: Advanced Workflows from Jeff Potts. When I deploy the sample I get the error
"11:40:02,406 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[JBPMDeployProcessServlet]] Servlet.service() for servlet JBPMDeployProcessServlet threw exception
org.alfresco.service.namespace.NamespaceException: Namespace prefix scwf is not mapped to a namespace URI".

So I removed the scwf prefix in the processDefinition.xml and it got deployed. In Alfresco I also get the publish whitepaper as an Advanced Workflow Option.
But when I press next next and go to finish I get the folling error "A system error happened during the operation: Failed to signal transition 'null' from workflow task 'jbpm$11'"

Does anyone have a clue what I might have done wrong?

Cheers,
Pranay
9 REPLIES 9

major_king
Champ in-the-making
Champ in-the-making
Hi Pranay,

I had the same problem. But i can finish the Workflow and its tasks. I only get the error message, when i click 'Workflow' on the document details.

How do You create the workflow? Do You use the GPD or a plain xml-file? I have the problem, that i can't write any content into the <script> or <condition> tags. When I'm trying to write anything, eclipse is going crazy. The only way to stop this behavior is deleting the hole <script>…</script>-area.

I'm using jBPM 3.2.2 and Alfresco 2.9.C dev.

Greeting,
christian

pranay
Champ in-the-making
Champ in-the-making
Hai Major-King,

I use GPD to create the workflow. What I think I am doing wrong is that I have created the process definition but I don't have a task model. So now I am looking into the task model. I wish there was a smaller sample which also explains where the files are deployed to. I really would like to understand the whole process from defining the process, creatings taks, deploying (and where it is stored) and see the result in Alfresco.

Iam using Alfresco 2.1 and JBPM 3.2

Cheers,
Pranay

may
Champ in-the-making
Champ in-the-making
Did you solve the problem? I'm running into the same problems ….

greets
birgit

pmonks
Star Contributor
Star Contributor
There's a fully worked advanced workflow attached to JIRA ticket WCM-907 (http://issues.alfresco.com/browse/WCM-907).  It's for WCM, but with the exception of some of the WCM specific steps in the workflow definition (the link checking task at the start and the promote to staging task at the end) it's basically the same as a DM workflow (the same workflow infrastructure, including the model and UI pieces are used for both WCM workflows and DM advanced workflows).

Cheers,
Peter

pmonks
Star Contributor
Star Contributor
I should also mention that this workflow has only been tested on 2.1.x, so YMMV on the 2.2 and 2.9 preview releases.

Cheers,
Peter

harishns
Champ in-the-making
Champ in-the-making
Hi,
I did new build, after deployment, I got same error.

org.alfresco.service.namespace.NamespaceException: Namespace prefix scwf is not mapped to a namespace URI

I search whole files and didn't find any file has the word "scwf",  Smiley Sad 

How Do I resolve the issue. now I am not able to do anything on the workflow console.

Help needed

Thanks

pmonks
Star Contributor
Star Contributor
As you mention the "scwf" namespace is not defined anywhere in the workflows attached to https://issues.alfresco.com/jira/browse/ALFCOM-206, which tends to suggest the problem lies elsewhere.  Do you have any other custom models defined that might have the "scwf" namespace?

Cheers,
Peter

sethatrothbury
Champ in-the-making
Champ in-the-making
The namespace in Jeff's advanced workflow sample uses the namespace scwf: as 'some company workflow' or something along those lines.

Make sure you're declaring your namespace in the model tag and as the namespace prefix in your workflow model file.

laki
Champ in-the-making
Champ in-the-making
I see this is a pretty old thread, but I had the same problem and solved it. As I can see, the problem is that you have started some workflows based on Jeff's scwf sample processes and then, accidentally or not, deleted processdefinition.xml from disk (or just removed references in context files). After you start, Alfresco can't open existing tasks from a database because it lacks processdefinition.xml.

Check if your definition file is in place and if it is referenced correctly.

Hope this helps.

Regards,
Laki
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.