[jboss-user] [JBoss jBPM] - Assignment expressions

Toni87 do-not-reply at jboss.com
Thu Oct 11 08:08:23 EDT 2007


I am trying to use the value of a variable to determine the assignment of a task.

According to the documentation the syntax is as follows:

<assignment expression='previous --> group(hierarchy) --> member(boss)' />

In my usage my syntax looks like:

<assignment expression="variable(WORCostCentre) --> group(Department)"></assignment>

WORCostCentre is a variable from a previous task which has a String value equal to the name of a Group with a group-type of Department.

I am using the environment:
Environment: Eclipse 3.3, EMF: 2.3.1, GEF: 3.3.1, DTP: 1.5, WTP: 2.0, jbpm-jpdl-designer-3.1.0.sp1

When I complete the task and it follows the transition to the block with the above mentioned assignment expression I get a ExpressionAssignmentException and it states the user does not exist. According to the documentation the variable tag can be used for User or Group objects.

Is my method incorrect or is this a bug?


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094017



More information about the jboss-user mailing list