|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Expiry time |
« View previous topic :: View next topic » |
Author |
Message
|
MaheshPN |
Posted: Thu Aug 07, 2003 8:04 am Post subject: Expiry time |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
I have a situation where I will set the expiry time through the container member and transition to next activity will occur after the expiry. ie. _state() = _Expired.
This activity also has an exit condition. So user will set/change the container value every time he enters the loop. But I also need an over all expiry, I mean if total time exceeds 30 days, then activity should expire, irrespective of container value.
How this can be achieved?
Please let me know your ideas!!!
Thanks,
Mahesh |
|
Back to top |
|
 |
Ratan |
Posted: Thu Aug 07, 2003 9:08 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Specify the Expiry condition in the exit condition
(Your Condition) OR (_state() = _Expired) _________________ -Ratan |
|
Back to top |
|
 |
MaheshPN |
Posted: Thu Aug 07, 2003 9:39 am Post subject: Expiry time |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
Hi Ratan,
My other condition is also related to expiry.
I looking at some thing like this,
If expiry_date = container value or expiry_date = 30day, whichever comes first, activity should get the _state() = _expired true so that next activity can start.
Hope it makes easy to understand my scenario
Thanks,
Mahesh |
|
Back to top |
|
 |
Ratan |
Posted: Thu Aug 07, 2003 10:05 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I am not sure how you can do this.
My proposal:
For the first part specify the 'Duration Of Activity" as from Container in activity properties. Then you can use _state() = _Expired for it.
When you say expiry_date = container value or expiry_date = 30day, you basically mean the expiry interval cannot be more than 30 days. so restrict the container value to be atmost 30 days. You wont even need the 'expiry_date = 30 days condition. _________________ -Ratan |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|