cancel
Showing results for 
Search instead for 
Did you mean: 

ToDo-List error when using advanced workflow

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi folks.

My problem is as follows. When I use one of the default advanced workflow options, e.g. Review and Approve, the user who should do the review doesn't get a To-Do List on his "My Alfresco" site, but following error message.

To be honest with you, I'm not used to JavaScript and I don't see a solution to this error. What may be the reason for this failure?

An error occurred in one of the dashlets.
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode
Failed to get to do tasks: java.lang.ClassCastException: java.lang.String cannot be cast to org.alfresco.repo.workflow.jbpm.JBPMNode

If you need more information, I'll give it to you.

Thanks in advance,
Chris.
10 REPLIES 10

ricvieira
Champ in-the-making
Champ in-the-making
well, i know this is old, but since i had this problem, maybe someone else will have it too, so i'll leave here the solution:

In a lot of the jbpm tables some fields were being created with char(255) or varchar(255), you'll need to look at each field and change the column type for the correct one, the chars need to be changed to char(1) (1byte) and a lot of the character varying need to be 4k bytes so in informix you change it to LVARCHAR(4000)  in other db's it can be clob(4000) or TEXT, it depends on the db sintax

but note that not all  character varying columns are to be changed, most of them are 255 bytes, only a few are 4000

hope this helps the next person Smiley Happy