Author |
Message
|
puneetk |
Posted: Mon Jan 14, 2002 1:43 am Post subject: |
|
|
Novice
Joined: 13 Jan 2002 Posts: 12
|
Can container members be used while searching for WorkItems?
I have a requirement to display workitems for specific amount to be displayed to user with different authotiry limit?
e.g. Say a Workitem has an amount fields for 100. Now a user1 say has authorify limit for 0-50 & user2 has authority limit for 1-200, only user2 should see the WI.
|
|
Back to top |
|
 |
mqwf1 |
Posted: Mon Jan 14, 2002 6:37 am Post subject: |
|
|
Novice
Joined: 13 Jan 2002 Posts: 22
|
Maybe you can do it by making below 2 values match :
1.person 's "level" property(0-9)
2.activity (workitem)'s "staff2" page's "level from container"'s
field name ,e.g."Rank"
then when Rank is n workitem assigned to
user whose level is n.(0<=n<=9) . |
|
Back to top |
|
 |
puneetk |
Posted: Mon Jan 14, 2002 6:43 am Post subject: |
|
|
Novice
Joined: 13 Jan 2002 Posts: 12
|
Okay But that is just a workaround for this specific problem. I also have more complex things.... finally..
Can I perform a search on Container members?? |
|
Back to top |
|
 |
jmac |
Posted: Mon Jan 14, 2002 7:22 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Not directly... You will have to retreive all of the workitems, then examine them individually. As you access each individual workitem, you will need to retreive its container, then access the desired members.
NOTE: This will add overhead to your worklist queries.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
puneetk |
Posted: Mon Jan 14, 2002 7:27 am Post subject: |
|
|
Novice
Joined: 13 Jan 2002 Posts: 12
|
Thanks very much for the reply.
Browsing thru' each WI's container is certainly now a good option, I will try to find some workaround formy business requirement. |
|
Back to top |
|
 |
|