Demian Calcaprina [
http://community.jboss.org/people/calca] created the discussion
"Re: Errors in Task Queries"
To view the discussion, visit:
http://community.jboss.org/message/631638#631638
--------------------------------------------------------------
Hi Kiram, if you see at the error, it the task summary object is constructed like this:
new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text,
subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable,
t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn,
t.taskData.activationTime, t.taskData.expirationTime)
In emergency services orm like you mentioned, the same query, TasksOwned, has this:
new org.jbpm.task.query.TaskSummary(
t.id,
t.taskData.processInstanceId,
name.text,
subject.text,
description.text,
t.taskData.status,
t.priority,
t.taskData.skipable,
t.taskData.actualOwner,
t.taskData.createdBy,
t.taskData.createdOn,
t.taskData.activationTime,
t.taskData.expirationTime,
* t.taskData.processId,*
* t.taskData.processSessionId)*
It seems you have your orm.xml outdated, or other old orm.xml in your classpath?
Regards,
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/631638#631638]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]