Author |
Message
|
amitroyc |
Posted: Fri Apr 12, 2002 7:47 am Post subject: |
|
|
Novice
Joined: 02 Apr 2002 Posts: 10 Location: India
|
Hi,
i want a department supervisor role who can act as the process administrator but only for that department. for e.g. If there is a Data Entry department, having 4 users who after logging in can create, delete, suspend work items individually. There is a supervisor who can act as the process administrator of this department who can view the tasks created by all the users who have logged in as Data Entry users. He should also be able to delete, suspend and resume tasks belonging to these users. I do not want to use the "Role" or "Organization" type of staffing where tasks are created for all the users belonging to the role or the organization.I want individual tasks to be created for each user when he logs in.
Is this possible?? Please help me out with this problem.
Thanks,
Amit. |
|
Back to top |
|
 |
jmac |
Posted: Fri Apr 12, 2002 4:04 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I dont believe what you want is possible.
Ask the developers on their newsgroup.
Server news.software.ibm.com
Group ibm.software.websphere.mqworkflow
GOOD LUCK.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amitroyc |
Posted: Tue Apr 16, 2002 5:50 am Post subject: |
|
|
Novice
Joined: 02 Apr 2002 Posts: 10 Location: India
|
ok jmac,
i agree that what i want is not possible with the current API support that MQWF provides. but i can achieve the same supervisor functionality by creating the following USER's
1) TeamA
2) SupervisorA
3) MemberA1
4) MemberA2
5) MemberA3....etc, etc
So there is a dummy TeamA user for which the workitems will be created.
Then the individual members who would log in and transfer(using the transfer() method of the work item) the work item to his name.
In case a team member has a WI checked out to his name...but he is absent on the day, the SupervisorA would then log in and cancel the check out. He can then transfer the WI to some other user who is present on the day.
The supervisor can also work on the WI's.
Would this be the correct approach.
Please advise me on this.
|
|
Back to top |
|
 |
jmac |
Posted: Tue Apr 16, 2002 8:44 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I don't believe that any user other than the owner can issue a Cancel Checkout.
You should check into this.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amitroyc |
Posted: Tue Apr 16, 2002 3:34 pm Post subject: |
|
|
Novice
Joined: 02 Apr 2002 Posts: 10 Location: India
|
is there any other way the supervisor could assign the checked out workitem to another user?
[ This Message was edited by: amitroyc on 2002-04-16 16:36 ] |
|
Back to top |
|
 |
jmac |
Posted: Tue Apr 16, 2002 5:24 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Not if it is in the checked out state.
Why is it in the checked out state in the first place?
I really don't understand what you are trying to do.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amitroyc |
Posted: Wed Apr 17, 2002 5:09 am Post subject: |
|
|
Novice
Joined: 02 Apr 2002 Posts: 10 Location: India
|
The situation is that there is a UserA who checks out the work item and then forgets to check it in. then he goes on a leave. so, there should be someone who should be able to log in and get the work item as a part of his task, say UserB. so the checked out state should be undone by the supervisor and that work item would then be transferred to the UserB. Bu the problem is that the checked out state could not be undone by anyone else other than the owner himself, who is absent. The work item cannot be directly transferred to UserB because it is in a checked out state. so then what could be the solution? please guide me. |
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 17, 2002 6:52 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
The way to deal with this situation is to use the ActivityInstance.forceRestart() method.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
satboppana |
Posted: Wed Apr 17, 2002 7:44 am Post subject: |
|
|
Acolyte
Joined: 20 Dec 2001 Posts: 64
|
You need to login as Admin and cancel the checkout behind the scene.
Then transfer the item to any user you want.
|
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 17, 2002 10:06 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I don't believe that is possible, I believe that only the owner of the workitem can issue the cancel checkout.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
amitroyc |
Posted: Thu Apr 18, 2002 6:21 am Post subject: |
|
|
Novice
Joined: 02 Apr 2002 Posts: 10 Location: India
|
thanks for the solution jmac  |
|
Back to top |
|
 |
|