Andy Yeung [
http://community.jboss.org/people/andy.yeung] created the discussion
"Unable to getTasksAssigned in JBPM5"
To view the discussion, visit:
http://community.jboss.org/message/636404#636404
--------------------------------------------------------------
Hi, anybody know if the human task created on JBPM5 always have createdBy and actualOwner
assigned? I just created a human task which assigned to a group. However I cannot retrieve
the task through getTasksAssignedAsPotentialOwner. The named query
"TasksAssignedAsPotentialOwnerByGroup" in the orm.xml generate a inner join to
OrganizationEntity using the createdBy and actualOwner field, which in my case is null.
My process definition first go through a script task and then reach the human task which
assign to a group.
I have also tried the example process definition but the example just assigned to a single
person, so I think the engine directly stored the actualOwner and createdBy.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/636404#636404]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]