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 » reassign Workflow run time objects

Post new topic  Reply to topic
 reassign Workflow run time objects « View previous topic :: View next topic » 
Author Message
alex_do
PostPosted: Mon Apr 26, 2004 3:47 pm    Post subject: reassign Workflow run time objects Reply with quote

Voyager

Joined: 17 Feb 2004
Posts: 85

How can we reassign Workflow run time objects from one user to another?

Thanks in advance
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Tue Apr 27, 2004 2:43 am    Post subject: Reply with quote

Jedi Knight

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

Use the WorkItem::transfer() api
_________________
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
alex_do
PostPosted: Tue Apr 27, 2004 8:17 am    Post subject: Reply with quote

Voyager

Joined: 17 Feb 2004
Posts: 85

Can anyone have any sample code similar to my issue,that will help me alot.

Thanks in advance
Back to top
View user's profile Send private message Yahoo Messenger
CHF
PostPosted: Tue Apr 27, 2004 12:07 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Quote:
Workflow run time objects

Do you mean Workitems? If yes, then you can simply transfer Workitems from one user to other using Thick Client or Webclient.

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
alex_do
PostPosted: Tue Apr 27, 2004 12:12 pm    Post subject: Reply with quote

Voyager

Joined: 17 Feb 2004
Posts: 85

Basically I want to delete the user ,before deleting him I have to transfer the Workitems to the Group Worklist of which this user is a part of.
Back to top
View user's profile Send private message Yahoo Messenger
CHF
PostPosted: Tue Apr 27, 2004 12:24 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

I am not sure if you want to use Transfer API to achieve this. But otherwise, like I said before, simply use WebClient or Thick Client to Transfer the workitems, and then delete that User from Runtime DB. To transfer Workitems you need authorization to do transfer.

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Tue Apr 27, 2004 12:27 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

CHF, your suggestion works if somebody is manually deleting users and has all the time in the world.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
alex_do
PostPosted: Tue Apr 27, 2004 12:38 pm    Post subject: Reply with quote

Voyager

Joined: 17 Feb 2004
Posts: 85

Do anyone use the tranfer API before?If so,I would like to know how you implemented it.

Thanks alot
Back to top
View user's profile Send private message Yahoo Messenger
Ratan
PostPosted: Tue Apr 27, 2004 12:40 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

look at the workitem API (Workflow Java API). It is pretty simple.

workitem.transfer("<UserID>")
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
alex_do
PostPosted: Tue Apr 27, 2004 12:45 pm    Post subject: Reply with quote

Voyager

Joined: 17 Feb 2004
Posts: 85

I thought we have to transfer the Workitems to the Group Worklist of which this user is a part of.Am I right?
Back to top
View user's profile Send private message Yahoo Messenger
CHF
PostPosted: Tue Apr 27, 2004 12:47 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Quote:
has all the time in the world.


I agree with you

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Tue Apr 27, 2004 1:53 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Alex,

Yes, You have to transfer the Workitem to the Group Worklist. You are probably using 'Virtual User' concept, so just transfer the Workitem to the Virtual user.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
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 » reassign Workflow run time objects
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.