Author |
Message
|
manoj |
Posted: Wed Sep 11, 2002 7:32 am Post subject: How to know whether a WorkItem is Expired or not |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Hi ,
I want to specify some condition in the control connector after an activity is expired. How do i know that the activity is actually expired and not checked in by some one. Is there a specific value for _RC for an expired activity.
regds
-manoj _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Wed Sep 11, 2002 11:09 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
You can check to see if the state is expired. See the doc for the exact syntax. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
manoj |
Posted: Wed Sep 11, 2002 11:38 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Hi John,
I want to specify a condition in my control connector. Some body can work on the task before it's getting expired. If some one worked on the task (did a checkin) then the flow should be different, if nobody worked on the tasks for a specific time period then the activity expires and should take another flow. So i need to differentiate between a task which is checked in by some one and a task which is expired using the control connector ( or is there any other way for this). In the datastructure i did n't find some default element useful for this.
regds _________________ -manoj |
|
Back to top |
|
 |
amittalekar |
Posted: Wed Sep 11, 2002 12:01 pm Post subject: |
|
|
 Disciple
Joined: 03 Apr 2002 Posts: 166 Location: VA, USA
|
I am not aware if there is any direct way to do this...Alternative may be to add a flag in the datastructure & set that flag if the task is checked in manually...Transition codition would be to check that flag.... |
|
Back to top |
|
 |
Ratan |
Posted: Wed Sep 11, 2002 2:19 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
You can have a default connector path taken when an activity expires and other conditions if it was checked in manually ( some element in the datastructures might be changing if checked in) or a flag as suggested.
-Laze |
|
Back to top |
|
 |
manoj |
Posted: Wed Sep 11, 2002 2:22 pm Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
I wanted to know whether it's possible to use some default elements like _RC or _ACTIVITY_INFO etc for this purpose instead of redoing my datastructure and java class.
thx _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Wed Sep 11, 2002 4:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Perhaps I don't understand, but is there some reason that you can not use
_State(<activity name>) = _Expired
vs
_State(<activity name>) = _Finished _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
manoj |
Posted: Thu Sep 12, 2002 5:30 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Hi,
I didn't find _State() = _Expired etc in any of the docs . Which documents u are refering . Please lemme know. Any way it works.
Thx for the help. _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Thu Sep 12, 2002 8:05 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
This is documented in the Buildtime manual. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|