[jboss-user] [JBoss jBPM] - Task Assignment Expression, Hibernate Parameter Error

2008-11-14 Thread johnhurtchan
I'm using Oracle as my datasource and using jBPM in my own web application. I 
have the JBPM schema on Oracle with the JBPM_ID_GROUP table with 1 row for 
group 'DivisionHead'.

When jBPM tries to assign the task to "group(DivisionHead)" I get the below 
errors:

WARN  QuerySplitter : no persistent classes found for query class: select g 
from org.jbpm.identity.Group as g where g.name = :groupName

WARN  RequestProcessor : Unhandled Exception thrown: class 
org.jbpm.graph.def.DelegationException
14:53:06,580 ERROR [[action]] Servlet.service() for servlet action threw 
exception
java.lang.IllegalArgumentException: Parameter groupName does not exist as a 
named parameter in [select g from org.jbpm.identity.Group as g where g.name = 
:groupName]
at 
org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:356)

Anyone know whats wrong and how to fix it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189542#4189542

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189542
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Task assignment #2

2007-07-23 Thread Jump
How to assign task to child group? For example, user u is a member of group p 
(with p_type group type), which is a parent for group c(with p_type group 
type). 
So, expression like previous->group(p_type)->group(c_type) looks correct for 
me, but not for jbpm identity. What am I dooing wrong? And how to use 
paren-child relations in jbpm identity groups properly?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066722#4066722

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066722
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Task assignment

2007-07-19 Thread harpritt
is it leagal to assign a task to both an actor and a group.

The reason i ask is because i want the group users to be able to pick up a task 
on behalf of the assigned user if he/she is away or leave the company.

Many thanks

H

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065774#4065774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Task assignment to group or pooledActors

2007-01-03 Thread sxj
Hi,
  I have a group of users who need to see the tasks assigned to their group. I 
understand that we can assign tasks using assignment to group(group-name) and 
then whoever takes the task from group gets the task assigned to personal list. 
I have done the following

  |
  |   
  | 
  | 

The group has been created in jbpm_id_group table and users given membership.  
Following task is assigned to the swimlane


  | 
  |   
  |  
  | 
  | 
  |  
  |   

But in the workflow when the previuos task gets completed this task is not 
assigned to anyone. 
 Please suggest what should be used ?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997718#3997718

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - task assignment when using hierarchical user groups

2006-09-06 Thread bert.w
Hi,

I am using the identity component to organise the users that use my application.

I made a hierarchical order like this:
group: all
   --> group: division1
   --> group: division2
   --> group: division3

also there are 2 kinds of roles a user can have. "gebruiker" or "hoofdgebruiker"

The problem i have is when i use this assignment for a task:

it only assigns the "hoofdgebruiker" users that are a member of the parent 
group "all", but not the "hoofdgebruiker" users that are in the subgroups.

Is there an expression to achieve this? Or is the only solution changing the 
Group.getUsers() method, to make this return also the users in the subgroups?

thanks,
BERT

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969673#3969673

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user