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 » Delaying using scheduling server

Post new topic  Reply to topic
 Delaying using scheduling server « View previous topic :: View next topic » 
Author Message
amitroyc
PostPosted: Wed Apr 03, 2002 4:55 pm    Post subject: Reply with quote

Novice

Joined: 02 Apr 2002
Posts: 10
Location: India

My problem is that i have a block activity and i have an exit condition to come out of that activity. The problem is that the system indefinitely loops for the exit condition to match. What I want is that once the exit condition does not match there should be a delay of say 15 minutes instead of continous polling so that a lot of resource utilization could be minimized. I tried to use the suspend2 method to temporarily suspend the process and resume it again. The Scheduling server was on. I did not get an option in buildtime to set the suspension check interval. But i still went ahead with the inherited suspension check time of 1 hour. It did suspend the process instance but even after 1 hour the process did not resume. Is this the right approach? Or is there anything else which can be done to produce this delay.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
vedbhat
PostPosted: Wed Apr 03, 2002 5:30 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Hi,

What exactly are doing in the Block and also are these activities automatic.

Regards
Ved
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
amitroyc
PostPosted: Thu Apr 04, 2002 6:14 am    Post subject: Reply with quote

Novice

Joined: 02 Apr 2002
Posts: 10
Location: India

These activities are automatic. The UPES is used to automatically run these activities. Actually the problem is that I have an API which calls a method from another API on another server. The output of this method is a boolean. If the value returned is true the exit condition is set and the control comes out of the activity, but if the exit condition is not set, Workflow is in a loop putting the input XML message in the input queue again and the whole process repeats again. Thus the whole process is in a loop until the exit condition matches. What i want is to put a delay in the system before the next poll so that it would save performance. How do i achieve it?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jmac
PostPosted: Thu Apr 04, 2002 10:43 am    Post subject: Reply with quote

Jedi Knight

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

Add another Synchronous UPES activity to the end of your loop. Have it sleep for the appropriat time, then send its Response back to MQWF.

MQWF, will ALWAYS repeat any activity (including the contents of a Block or an entire subProcess) when the exit condition of that activity is not met.

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
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 » Delaying using scheduling server
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.