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]Process Instances - Restart

Post new topic  Reply to topic
 [SOLVED]Process Instances - Restart « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Tue May 11, 2004 1:50 pm    Post subject: [SOLVED]Process Instances - Restart Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

WF 3.4.
I use Web Client.

I have around 1000 process instances in my process instances list. All of them are waiting for response back from UPES requests. The 6th activity of the process is Synchronous UPES call, and actually WF already sent the ActImpInvoke messages, and waiting for the response back. But unfortunately I lost all these messages from that UPES queue.

I know I can restart them manually and send the messages again to UPES queue, by going to each of the process instance monitor and by force restarting the activity.

I would like to know
1) Is there any other easy way to achieve this task?
2) If I need to use any API, how do I proceed on implementing that API?

Thanks
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Tue May 11, 2004 2:49 pm    Post subject: Reply with quote

Jedi Knight

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

CHF:

I assume that you can not see any workitems for these. I think the only possiblity is going to be to write some code.

For Each Stuck instance:

1. Access the Instance.
2. Get the ActivityInstances for this Instance.
3. Locate the proper Activity
4. Issue a ForceRestart on the Activity Instance (this will create a
(workitem for the user id that issues the forceRestart)
5. Access the workitem
6. Do a Start() on the workitem. This will cause the message to be sent
to the UPES again.
_________________
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
CHF
PostPosted: Wed May 12, 2004 11:12 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Thanks Jmac. I have it worked out.

CHF
Back to top
View user's profile Send private message Send e-mail 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 » [SOLVED]Process Instances - Restart
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.