Author |
Message
|
MaheshPN |
Posted: Wed Jun 16, 2004 7:24 am Post subject: [SOLVED]expirationTime() |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
Hi Guys,
I was trying to use item.expirationTime() in my worklist, so that user will know when it will expire. This API works fine for the first time. If the user check-out and check-in back with the flase exit condtion, the api will returns 'null' from then onwards. Activity expires as expected. but this API will not work.
any Ideas?
Thanks,
-Mahesh
IBM Certified Solution Expert - MQWorkflow |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jun 16, 2004 7:33 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Just a thought: Are u constructing WorkItem from the OID ? _________________ -Ratan |
|
Back to top |
|
 |
manoj |
Posted: Wed Jun 16, 2004 7:36 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Mahesh,
Are you using Data loop connector ? _________________ -manoj |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jun 16, 2004 7:42 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Manoj,
How would Data Loop Connector effect this? _________________ -Ratan |
|
Back to top |
|
 |
manoj |
Posted: Wed Jun 16, 2004 7:47 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
I was thinking if he's taking the expiration time from container and if he uses a data loop connector probably his input container gets updated when the exit condition evaluate to false... just a thought _________________ -manoj |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jun 16, 2004 7:49 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Manoj,
Makes sense, but he mentioned the Activity is expiring as expected. _________________ -Ratan |
|
Back to top |
|
 |
manoj |
Posted: Wed Jun 16, 2004 7:56 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Ratan,
That's confusing to me as well.....Since the workitem gets expired as expected the value in the database column for expiration time is intact. _________________ -manoj |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jun 16, 2004 8:23 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Mahesh,
Is it possible that after the Bloack exit condition failed, you are still
holding on to Old Workitem OID? _________________ -Ratan |
|
Back to top |
|
 |
jmac |
Posted: Wed Jun 16, 2004 8:47 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mahesh:
I have reproduced your problem... I believe you should open a PMR on this. I am running V3.4.0.4.
Please let me know that you have opened this.
THANKS _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
MaheshPN |
Posted: Wed Jun 16, 2004 8:50 am Post subject: |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
Hi Guys,
I am not using any data loop connectors.
simple way to reproduce is
-create a process with one activity.
-assign expiry time say 5min
-In the exit condition (testflag <> "Y")
Write a small java program to query using query workitem api.
then print workitem.expirationTime().
use fmcnshow to checkout-change value of testflag and checkin
run the query again.
Let me know the result.
Thanks,
-Mahesh |
|
Back to top |
|
 |
MaheshPN |
Posted: Thu Jun 17, 2004 11:23 am Post subject: |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
I opened a PMR with IBM, Will keep you guys updated
Thanks,
-Mahesh |
|
Back to top |
|
 |
MaheshPN |
Posted: Thu Sep 23, 2004 11:36 am Post subject: |
|
|
 Master
Joined: 21 May 2003 Posts: 245 Location: Charlotte, NC
|
Atlast IBM closed my PMR.
Details:
Apar : IY58455
Availability :Will be available on mqwf v340 SP6 and v350 SP2
Thanks,
-Mahesh
IBM Certified Solution Expert - MQWorkflow |
|
Back to top |
|
 |
|