cancel
Showing results for 
Search instead for 
Did you mean: 

View details error after canceling workflow

jenn_l
Champ on-the-rise
Champ on-the-rise
Hoi all,

I get a system error in my webclient when I choose for the view details icon of the document after canceling a workflow.
This is what the webclient said:

javax.faces.FacesException: org.alfresco.service.cmr.workflow.WorkflowException: Workflow instance 'jbpm$10572' does not exist
caused by:
org.apache.jasper.JasperException: org.alfresco.service.cmr.workflow.WorkflowException: Workflow instance 'jbpm$10572' does not exist
caused by:
org.alfresco.service.cmr.workflow.WorkflowException: Workflow instance 'jbpm$10572' does not exist


This means after canceling a workflow, there's no access to the details page anymore. I want to be able to view the details page. Can anyone help me with this?

Regards,
Jenny
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
That is correct, after a workflow instance is cancelled it no longer exists, so there are no details to see.

You have two choices. 
You can store some sort of log of a historical workflow.   
or do not cancel the workflow instance in the first place, possibly keeping it in an End state until it is no longer needed.

Or are you reporting a bug on the webclient?

noesje
Champ in-the-making
Champ in-the-making
Re: View details error after canceling workflow

Post by mrogers on 11 Jan 2010, 10:01
That is correct, after a workflow instance is cancelled it no longer exists, so there are no details to see.

You have two choices.
You can store some sort of log of a historical workflow.
or do not cancel the workflow instance in the first place, possibly keeping it in an End state until it is no longer needed.

Or are you reporting a bug on the webclient?

Hi I have a question:
I don't understand what you mean with the historical workflow log.
Can you still see the details of the document after you've created this log?

mrogers
Star Contributor
Star Contributor
What I mean by a "historical workflow log" is some sort of application specific document that gets generated as a workflow progresses.   So, for example in a multi-stage approval of a single document, you could attach a child document saying who approved and when.    The contents of that file would be specific to your application, but at its simplest could just be a line of text.   "Fred Bloggs approved 01/01/2010"

jenn_l
Champ on-the-rise
Champ on-the-rise
Hi All,

Is there anything that can be done in order to display the details page. I still want the other aspects of a document to be available for the users.
Any help is useful.

Thanks,