ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Work Item Transfer Issue

Post new topic  Reply to topic
 [SOLVED]Work Item Transfer Issue « View previous topic :: View next topic » 
Author Message
texan
PostPosted: Mon Aug 30, 2004 10:12 am    Post subject: [SOLVED]Work Item Transfer Issue Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

I have a question regarding work item transfer. My requirement is one of the user 'A' wants to transfer a work item to another person 'B'. In order to do that I have to set 'A' is auhtorized to see work items of 'B'. My understanding is that then only 'A' can transfer work item to 'B'. But the problem with this approach is: When A logs into system, he is able to see all 'B's work items. I do n't want 'A' to see 'B's work items. I just want to transfer 'A's work item to 'B' sometimes. Is it posiible to do or am i missing something here? Thanks in advance...
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Aug 30, 2004 10:13 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Set the Worklist filter to 'OWNER=CURRENT_USER'
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
texan
PostPosted: Mon Aug 30, 2004 10:21 am    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

I thought of doing that but wf doc. says that "If the list is for public usage, any owner specification is ignored." I also have arequirement that Super Admin should see all work items. If I set that on worklist, can super user still see it?
Back to top
View user's profile Send private message
texan
PostPosted: Mon Aug 30, 2004 10:36 am    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

If I set that in filter, work item is not at all visible. Does anyone know why?
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Aug 30, 2004 11:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

texan wrote:
wf doc. says that "If the list is for public usage, any owner specification is ignored."

That is definitely not correct IF I am understanding you. A Public worklist can have OWNER = CURRENT_USER with no worries.

texan wrote:
I also have arequirement that Super Admin should see all work items. If I set that on worklist, can super user still see it?

Looks like you need 2 Public lists, one with CurrentUser one without


Why are you not seeing anything? Are you sure there are workitems to be seen?
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
texan
PostPosted: Mon Aug 30, 2004 1:00 pm    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

"If the list is for public usage, any owner specification is ignored."
I found this in Programming guide page no (419 on actual page or page 445 adobe page no.).
I created a worklist in runtime client with a filter like (processinstancecategory=xxxand owner=current_user) and none of the work items showed up. If I remove "Owner=Current_user", then I can see the work item.

Thanks for all your help.
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Aug 30, 2004 1:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

texan wrote:
"If the list is for public usage, any owner specification is ignored."
I found this in Programming guide page no (419 on actual page or page 445 adobe page no.)


What this statement is referring to is the owner parameter (see below)

Code:
public abstract
ProcessTemplateList createProcessTemplateList(
String name,
TypeOfList type,
String owner,
String description,
String filter,
String sortCriteria,
Integer threshold ) throws FmcException


I use owner = current user in public worklists ALL the time, I am sure that most people do.

What your particular problem is, I am not sure, but there is no owner restriction in the Filter criteria.

Quote:
If I remove "Owner=Current_user", then I can see the work item.


When you remove this, and see the workitem is the owner of that workitem the user who is currently logged on?
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
texan
PostPosted: Mon Aug 30, 2004 1:17 pm    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

Yes. I am logging as xyz and he is the owner of the work item. As soon as I put that filter in my work list definition, it is n't showing any work item at all.

I am n't creating this worklist in a program. I am creating it in a FAT client and specifying filter condition there. Do I have to specify in a diff. way for FAT client?
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Aug 30, 2004 1:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

1. In the FIELD Dropdown select Owner

2. In the OPERATORS Dropdown select equal

3. In the VALUE Entryfield key in CURRENT_USER

(Note... NO Quotes exactly like that.)

This should do what you want
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
texan
PostPosted: Mon Aug 30, 2004 7:20 pm    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

John,
That solved the problem. I should have thought about that. Now a days I am trying to find everyhting here. I really appreciate your time for reading all these lengthy posts and helping us. Thanks a million!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Work Item Transfer Issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.