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 » Cancel/Transfer items

Post new topic  Reply to topic
 Cancel/Transfer items « View previous topic :: View next topic » 
Author Message
sam999
PostPosted: Mon Sep 26, 2005 2:28 am    Post subject: Cancel/Transfer items Reply with quote

Apprentice

Joined: 12 Jul 2005
Posts: 34

We have the scenario whereby users will retrieve workitems from virtual user lists. They can then either check back in the item or decide to cancel. Currently, when they check back in the item it remains on their worklists but I would like this item to go back onto the virtual users list. Do we have to do a transfer back to the virtual user when the user cancels or is there another way around this?

As always, replies and opinions greatly appreciated :-)
Back to top
View user's profile Send private message
JKehoe
PostPosted: Mon Sep 26, 2005 4:46 am    Post subject: Reply with quote

Novice

Joined: 10 Aug 2005
Posts: 20

I have coded a complete Group Worklist strategy, and I can tell you from experience, the deeper in it that you get, the more custom code you'll find yourself writing.

Yes, you're going to have to transfer the item back to the virtual user manually (aren't you manually transferring the item FROM the VU to the logged in user when they select it, anyway?)

The best way to handle this is probably by overriding the cancelWorkItemResponse from the JSPViewer class (I assume you are extending this somewhere). Within this method, get the WorkItem from the RequestContext and transfer it back to the VU.

Hope this helps,
josh
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Sep 26, 2005 5:43 am    Post subject: Reply with quote

Jedi Knight

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

JKehoe wrote:
The best way to handle this is probably by overriding the cancelWorkItemResponse from the JSPViewer class (I assume you are extending this somewhere). Within this method, get the WorkItem from the RequestContext and transfer it back to the VU.


The problem with overriding cancelWorkItemResponse is that it will then have this "transfer to virtual user" behavior whenever a user cancels. You will need to be sure you understand exactly the behavior that is needed by all your various usrers or you will end up continually adding additional functions. I would probably go with separate custom commands to handle the return to virtual user, and if necessary a cancel checkout and return to virtual user.
_________________
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 » Cancel/Transfer items
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.