[jboss-dev-forums] [jBPM Development] - Unable to getTasksAssigned in JBPM5
Andy Yeung
do-not-reply at jboss.com
Mon Nov 14 07:37:18 EST 2011
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&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111114/ac449e46/attachment.html
More information about the jboss-dev-forums
mailing list