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 » How to set the duration of the process?

Post new topic  Reply to topic
 How to set the duration of the process? « View previous topic :: View next topic » 
Author Message
aronimink
PostPosted: Wed Jan 27, 2010 8:01 am    Post subject: How to set the duration of the process? Reply with quote

Apprentice

Joined: 03 Jan 2006
Posts: 26

Using workflow 3.6 buildtime, I know there is duration setting in activity.
I am trying to set the duration for process instance, but I do not see any properties in process control. But i noticed there is "Duration of process" under Staff, do I need to set duration here, if the process need to be terminated automatically after certain length of time?

Thanks in advance.
Back to top
View user's profile Send private message
hos
PostPosted: Thu Jan 28, 2010 2:38 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

yes, the Staff tab in the process settings is the correct place to specify the process expiration. Either select a duration in seconds or select a container member that specifies the expiration dynamically.
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 28, 2010 6:05 pm    Post subject: Reply with quote

Jedi Knight

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

Aronimink:

You just need to realize that when you set the Duration of a process that what is going to happen is that there will be a Process Instance Notification. This is like setting durations on the Notification tab of the Activity settings, not setting an Expiration for an activity like you do on the Exit tab, which causes an activity to end in the expired state.

You are saying you want the process to automatically terminate after a period of time, that is only going to happen if you recognize that the Process Instance Notification has occurred and react to it i.e. use the API to terminate the process.

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
aronimink
PostPosted: Fri Jan 29, 2010 10:42 am    Post subject: Thank you for your response Reply with quote

Apprentice

Joined: 03 Jan 2006
Posts: 26

I do not want the instances to become just expired state.
I wanted to terminate them. I guess best way to do that is to cretae "Clean up" job using API to terminate old instances.
Anyway, thank you both responding my question.
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 » How to set the duration of the process?
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.