Author |
Message
|
pbjonwheat |
Posted: Tue Jul 19, 2005 12:00 pm Post subject: [SOLVED] WI create date versus PI create date |
|
|
Novice
Joined: 16 Nov 2004 Posts: 13
|
In my application, a process instance is created and started via an XML message. When I compare the create date of the process instance to the create date of the work item, sometime there is a significant lag time between the two. I guess I am curious as to why this is so. Is the create date on the work item from when a user first checks out the work item or is it when the work item is put into a Ready state for check out? |
|
Back to top |
|
 |
vennela |
Posted: Tue Jul 19, 2005 3:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Is the workitem that you are talking about the first work item in the process? |
|
Back to top |
|
 |
jmac |
Posted: Tue Jul 19, 2005 5:05 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Also, please clarify what you consider to be a significant lag. Are we talking 500 ms or 5000 ms? _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
pbjonwheat |
Posted: Wed Jul 20, 2005 6:04 am Post subject: work item create date versus process instance create date |
|
|
Novice
Joined: 16 Nov 2004 Posts: 13
|
The work item is not the first one. There is an automatic activity that decides which block to execute, then this is the first activity in the block.
Until the block condition is satisfied, the first activity in the block can be executed over and over.
The lag time can be several hours to several days and sometimes it is within a second. This leads me to think that the create time on the work item is not the initial create time, but each time the activity is recreated.
Would that be a true assumption? That would then make sense of what I am seeing. |
|
Back to top |
|
 |
jmac |
Posted: Wed Jul 20, 2005 6:44 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Do you loop through the block based on an Exit condition?
If so that would explain this to me. Each time the block repeats the workitems inside that block are recreated. If you want to know when the first activity in the block was created the first time, look at the time the block was created. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
pbjonwheat |
Posted: Wed Jul 20, 2005 7:25 am Post subject: |
|
|
Novice
Joined: 16 Nov 2004 Posts: 13
|
Thanks for the input. That is exactly what is happening. |
|
Back to top |
|
 |
|