This content has been marked as final.
Show 2 replies
-
1. Re: assignment expression
ahmedabd-elhaffiez Nov 29, 2006 9:11 AM (in response to lg-jbpm)i can't find any documentation concerning this issue. but i think it means some kind of hierarchy..for example u want this task to be assigned to the manager in the HR department and not every body.
so u would specify previous-->group(hr)-->member(manager). i am not sure abt my answer.
I tried to work on simple assignments, example:<task name="mystask"> <assignment expression="user(ernie)"></assignment> </task>
well, it works fine.
but it didn't work for groups assignment. i don't know y it doesn't work when i say<task name="mystask"> <assignment expression="group(hr)"></assignment> </task>
i find that anybody can access the task and not only HR department.
is there any document for the membership assignng in the DB? wt i get is that 3 tables are responsible for this (grupID, userId, membershipID) anythg else i miss?
any one can help me understand wt is the problem abt that? -
2. Re: assignment expression
lg-jbpm Dec 12, 2006 7:17 PM (in response to lg-jbpm)Thanks for your reply. I did figure out how it worked, but I haven't checked this thread in a while.
previous --> group(hierarchy) --> member(boss)
This means: find the group for the last user where grouptype is 'hierarchy'. In this group find the user who has the role of 'boss'.
This will basically assign the next task to the last user's boss.
- lg