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 » Introducing Delay In Next Activity

Post new topic  Reply to topic
 Introducing Delay In Next Activity « View previous topic :: View next topic » 
Author Message
kumar_abhishek
PostPosted: Thu Dec 27, 2001 2:40 pm    Post subject: Reply with quote

Newbie

Joined: 26 Dec 2001
Posts: 1

HI Friends
I want to start a second activity only after certain time period (Say 5 day )of first activity.How can I do this.The solution I think is to have some thread which start after completion of first activity and when certain time is passed it set the flag which can be used by Ctrl Connecter to true.

Pls any body tell me better soln.

Thnx In Advance


[ This Message was edited by: kumar_abhishek on 2001-12-27 14:41 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Dec 28, 2001 6:54 am    Post subject: Reply with quote

Jedi Knight

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

I've not tried this, but I believe there is an option on the Process Instance Suspend API that allows you to specify a time period. If you do this, then the Instance Would be suspended and thus the Work Item, although it would exist could not be run. Be sure that you are using the Scheduling server if you try this approach, as all timing issues in MQWF require it to be running, and it does not run by default.

If you try this and find it successful, please post your results.

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
yoscop
PostPosted: Mon Jan 28, 2002 6:16 am    Post subject: Reply with quote

Novice

Joined: 17 Dec 2001
Posts: 13

hi,
I have tried this delay of an activity using MQWF Buildtime, by seting the expiration of an activity to certain period(On the Exit tab).Also we need to be sure to change the Scheduling Server properties to say 30 secs(on the Network-->Domain -->Server properties tab).I was successful in delaying the activity but the subsequent activity becomes into a Ready state instead of a running state.
Still looking for the reason.
However a different approach is to use the block activity, which is equivalent to using a do-Until kinda activity.Just set an exit condition to the Block activity and the any process activity within the block will continue until the exit condition of the block is met.When u do this be sure to add a Source and Sink to the block activity and set the appropriate data mappings between the block and the activity within the block.

Regards,
yoscop
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Mon Jan 28, 2002 9:07 am    Post subject: Reply with quote

Jedi Knight

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

The activity goes into a ready state because that's where it was when the Instance was suspended. You will still need to get the activity to run by issing a CO/CI or Start.

Setting Scheduling server to 30 second wake up time is extremely expensive from a performance point of view, unless you really need this I would recommend against it.



_________________
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 » Introducing Delay In Next 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.