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 » what is workflow api to check who checked out the workitem ?

Post new topic  Reply to topic
 what is workflow api to check who checked out the workitem ? « View previous topic :: View next topic » 
Author Message
beth_carlin
PostPosted: Tue Jun 08, 2004 12:33 pm    Post subject: what is workflow api to check who checked out the workitem ? Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

I am looking for a MQWF api to find out who checked out the work item ? I appreciate any code sample

Thanks
Beth
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Jun 08, 2004 1:26 pm    Post subject: Reply with quote

Jedi Knight

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

Beth:

There is no direct API call that will tell you who checked out a workitem.

What exactly is it you are doing? Are you talking about a situation where the activity is completed and you want to know who checked it out. Or a situation where the activity is in a "checked out" state?
_________________
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
beth_carlin
PostPosted: Tue Jun 08, 2004 2:39 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

John,
Thanks...the situation where the activity is in a "checked out state" ...For example ...in WA82...after WEBBANK_CLERK logs in, WEBBANK_CLERK can see the work items for WEBBANK_CLERK, CLERK2 and CLERK3.
if WEBBANK_CLERK checks out a workitem, CLERK2 after logs in will see the same workitem in disabled state (with a lock and ?)
it would be nice if there is an API to find out who checked out the workitem so CLERK2 can know who checked out the work item

Thanks again
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Jun 08, 2004 2:51 pm    Post subject: Reply with quote

Jedi Knight

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

beth_carlin wrote:
it would be nice if there is an API to find out who checked out the workitem so CLERK2 can know who checked out the work item


Beth:

There is a way, but it depends on the scenario, which was why I asked

In your case what you need to do is get the ActivityInstance (use Workitem::activityInstance) then use the ActivityInstance::starter to get the starter of the activity.
_________________
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
manoj
PostPosted: Wed Jun 09, 2004 5:56 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Why can't he use "OWNER" from the workitem ? The only thing preventing the other user is a checkout ...
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Wed Jun 09, 2004 6:51 am    Post subject: Reply with quote

Jedi Knight

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

In order to use Workitem::owner() you would have to have access to the workitem. It is possible that I just misunderstood the question.
_________________
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
manoj
PostPosted: Wed Jun 09, 2004 6:59 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Oh ok,
I thought he's getting a list of workitems for a particular user and the user has confusion which workitems he can work with...
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
beth_carlin
PostPosted: Wed Jun 09, 2004 7:48 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

In your case what you need to do is get the ActivityInstance (use Workitem::activityInstance) then use the ActivityInstance::starter to get the starter of the activity.


Thanks John....thanks so much....I appreciate all your help...I will try your recommendations
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Jun 09, 2004 7:50 am    Post subject: Reply with quote

Jedi Knight

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

Beth:

Just let me know how you make out with this....

GOOD LUCK
_________________
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
beth_carlin
PostPosted: Wed Jun 09, 2004 11:11 am    Post subject: John, I have another question Reply with quote

Acolyte

Joined: 08 Jun 2004
Posts: 64

John,

Thanks for all your help..I am new to workflow...still trying to find my way..especially the webclient part

The "forms" directory inside the webclient's directory
C:\WASAE5\WebSphere\AppServer\installedApps\BETH\MQWF_Web_Client_WEBCLNT.ear\fmcohcli.war\forms contain a bunch of jsps....

Are some of those jsps in the forms dir containing the data entry template
for the Web Client's Activity implementation jsps ? if not, could you tell me what forms dir is for ? Thanks again
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Jun 09, 2004 11:48 am    Post subject: Reply with quote

Jedi Knight

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

The main one is the ListViewer.jsp and this controls the view that you see when you fire up the webclient (i.e the workitems, templates, instances etc)

I am not sure I understand what you mean when you say ActivityImplementation jsps. Since IBM doesn't really supply your activity jsps you have to write them yourself.
_________________
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
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 » what is workflow api to check who checked out the 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.