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 » force expire the activityinstance

Post new topic  Reply to topic
 force expire the activityinstance « View previous topic :: View next topic » 
Author Message
kazim
PostPosted: Thu Dec 03, 2009 12:32 am    Post subject: force expire the activityinstance Reply with quote

Apprentice

Joined: 15 Jul 2007
Posts: 31

Hello All

I have an activity modelled with 'Expiration - From Container' specification(buildtime)
Due to some problem(runtime), I have to expire the activity before its actual time.
Could it be possible to expire an activity? like foreFinish/forceRestart...

addtional info : this activiy must have to be only expire because its immediate flow has transtion condition : _STATE() = _Expired.

Advance thanks.

Regards,
Back to top
View user's profile Send private message
hos
PostPosted: Thu Dec 03, 2009 7:49 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

there is no forceExpire() API. You could try to restart the activity and provide a shortened expiration value in the input container. Not sure whether the expiration value is renewed when the activity is restarted.
If possible you could switch the system clock
Back to top
View user's profile Send private message
kazim
PostPosted: Fri Dec 11, 2009 2:40 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jul 2007
Posts: 31

forcerestart did not work though the container value got updated with shortened expiration time.
I forcefinished those affected tasks upon business users acceptance.
Back to top
View user's profile Send private message
kazim
PostPosted: Fri Dec 11, 2009 2:42 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jul 2007
Posts: 31

forcerestart did not work though the container value got updated with shortened expiration time.
I forcefinished those affected tasks upon business users acceptance.
Back to top
View user's profile Send private message
jmac
PostPosted: Sat Dec 12, 2009 6:30 am    Post subject: Reply with quote

Jedi Knight

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

Potentially if you put the activity into a loop and have the loop repeat, this would get the timer to reset when the activity is run. This would require a force finish as opposed to a force restart and also this assumes you are talking about something under development, not a running production instance.
_________________
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 » force expire the activityinstance
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.