[jboss-user] [jBPM] - Re: Errors in Task Queries

Demian Calcaprina do-not-reply at jboss.com
Thu Oct 13 13:01:03 EDT 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111013/d3215b78/attachment.html 


More information about the jboss-user mailing list