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 » Suspend/Resume activity

Post new topic  Reply to topic
 Suspend/Resume activity « View previous topic :: View next topic » 
Author Message
Adi
PostPosted: Thu Jan 15, 2004 6:56 am    Post subject: Suspend/Resume activity Reply with quote

Apprentice

Joined: 23 Oct 2003
Posts: 40

1. We have a requirement where a time is obtained from an external system and the activity is supposed to wait until that time. There may be a case where this activity may be required to start/ resume. Can some one tell me what is the best way to implement this scenario .
2. The requirement is to wait for 2 business days rather than 48 hrs straight. Just wondering as to how any one out there is implementing this kind of scenario.

Thanks
Adi
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 15, 2004 8:49 am    Post subject: Reply with quote

Jedi Knight

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

There is a suspend method for ProcessInstance (suspend2 in java) that allows you to specify that you want the instance to be resumed at a particular date/time. You should be able to calculate this quite easily.

If you need to resume early, simply use the resume method of ProcessInstance.

Note that this is at the INSTANCE level not the ACTIVITY level, so this will not work for you if you are running other activities in parallel that you wish to continue processing.

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
Adi
PostPosted: Fri Jan 16, 2004 8:04 am    Post subject: Reply with quote

Apprentice

Joined: 23 Oct 2003
Posts: 40

Thanks a lot.

Adi
Back to top
View user's profile Send private message
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 » Suspend/Resume activity
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.