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 » Is there Java API to get who has checked out one workitem?

Post new topic  Reply to topic
 Is there Java API to get who has checked out one workitem? « View previous topic :: View next topic » 
Author Message
yuanjsh
PostPosted: Tue May 06, 2003 8:14 pm    Post subject: Is there Java API to get who has checked out one workitem? Reply with quote

Newbie

Joined: 06 May 2003
Posts: 3
Location: Shanghai, P.R.China

When one user checked out one workitem and doing work, can I get the userID who checked out this workitem?

It seems owner() method of WorkItem class is not proper API.



YUAN JingSheng
WMQ IBM Certified Specialist
Back to top
View user's profile Send private message
jmac
PostPosted: Wed May 07, 2003 5:45 am    Post subject: Reply with quote

Jedi Knight

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

You can get this information but it would not be easy.

Given that you know the Workitem and Instance names, you can query to get the workitems by that name and check to see the one in the running state and then the owner would be the user running the workitem.
_________________
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
amittalekar
PostPosted: Wed May 07, 2003 5:55 am    Post subject: Reply with quote

Disciple

Joined: 03 Apr 2002
Posts: 166
Location: VA, USA

Why do u say workItem.owner() does not return the USERID who has checked out that workItem?

I believe when u query for the workItem using the USER who has authorizations to see the tasks of the USER who has checked out the WorkItem, query will return u workItem and when u do workItem.owner()
that will return u the USER who has checked out that workItem....
Back to top
View user's profile Send private message Yahoo Messenger
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 » Is there Java API to get who has checked out one workitem?
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.