Hi,
I'm using Jbpm 3.2.6. According to documentation
http://docs.jboss.com/jbpm/v3.2/userguide/html/taskmanagement.html#assign...,
it says: anonymous wrote : variable(variable-name) means the user or group is taken from
the specified variable instance. The variable instance can contain a java.lang.String, in
which case that user or group is fetched from the identity component
However, if I use the expression variable(variable-name) to assign a task in my process
definition, and my 'variable-name' value is the name of an existing Group, an
exception is thrown:
Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: couldn't
resolve assignment expression 'variable(RoleToObtainQuote)'
| at
org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:97)
| at
org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:313)
| at
org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:267)
| ... 130 more
| Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user
'IF-Other Maintenance Leader' couldn't be fetched from the user db
| at
org.jbpm.identity.assignment.ExpressionAssignmentHandler.getUserByName(ExpressionAssignmentHandler.java:209)
| at
org.jbpm.identity.assignment.ExpressionAssignmentHandler.resolveFirstTerm(ExpressionAssignmentHandler.java:138)
| at
org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:75)
| ... 132 more
It says the USER couldn't be fetched from the DB, but according to docs, shouldn't
it also look if its a GROUP? As in my case, it is a Group, and that Group does exist in
the DB.
Any ideas?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225825#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...