Author |
Message
|
humxa |
Posted: Fri Feb 09, 2007 8:16 am Post subject: question on MQWorkflow API START_TIME field |
|
|
Newbie
Joined: 23 Nov 2005 Posts: 8 Location: st. louis
|
Hello,
I'm using the START_TIME field as part of my filter for terminating process instances (in a delete utility). My question is does/can the START_TIME field ever get altered from the point the process instance is created?
Thanks. |
|
Back to top |
|
 |
jmac |
Posted: Fri Feb 09, 2007 9:38 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
The way I understand it, the Start time will contain the time that the instance is started, it will remain unchanged once the instance is started, and IIRC it is null if the instance is in a READY state. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
humxa |
Posted: Fri Feb 09, 2007 11:50 am Post subject: |
|
|
Newbie
Joined: 23 Nov 2005 Posts: 8 Location: st. louis
|
Thanks for the reply! I'm not familiar with what IIRC is but you answered my question about START_TIME. thank you. |
|
Back to top |
|
 |
jmac |
Posted: Fri Feb 09, 2007 1:22 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Sorry.... IIRC is If I Recall Correctly. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
hos |
Posted: Sun Feb 11, 2007 11:26 pm Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
Well,
keep in mind the restart() API for top level processes and the restart() and forceRestart() APIs for subprocess activity instances.  |
|
Back to top |
|
 |
humxa |
Posted: Tue Feb 13, 2007 5:48 am Post subject: |
|
|
Newbie
Joined: 23 Nov 2005 Posts: 8 Location: st. louis
|
Thanks jmac for explaining IIRC : )
Are you saying hos with those API methods utilized, the START_TIME value would get changed then?
thank you |
|
Back to top |
|
 |
k4mik4z3 |
Posted: Sat Feb 17, 2007 7:56 pm Post subject: |
|
|
Novice
Joined: 03 Aug 2006 Posts: 24 Location: India
|
If you restart a completed/terminated process instance, the instance name would remain the same but the Start date would change.
I believe that this is achieved with the restart API that hos has mentioned.. |
|
Back to top |
|
 |
vijaycr |
Posted: Tue Feb 20, 2007 2:33 am Post subject: |
|
|
 Acolyte
Joined: 11 Oct 2006 Posts: 62 Location: Singapore
|
If you are looking at the 'Initial' Starttime that will not be affected by restart or forcerestart. You can also look at using createdtime. If all process initiations are through createandstart API then, the creation and start time should be the same. |
|
Back to top |
|
 |
humxa |
Posted: Thu Feb 22, 2007 1:36 pm Post subject: |
|
|
Newbie
Joined: 23 Nov 2005 Posts: 8 Location: st. louis
|
OK, thanks k4mik4z3 and vijaycr for the additional information! |
|
Back to top |
|
 |
|