ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]expirationTime()

Post new topic  Reply to topic
 [SOLVED]expirationTime() « View previous topic :: View next topic » 
Author Message
MaheshPN
PostPosted: Wed Jun 16, 2004 7:24 am    Post subject: [SOLVED]expirationTime() Reply with quote

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
View user's profile Send private message
Ratan
PostPosted: Wed Jun 16, 2004 7:33 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Just a thought: Are u constructing WorkItem from the OID ?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Jun 16, 2004 7:36 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Mahesh,
Are you using Data loop connector ?
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Wed Jun 16, 2004 7:42 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Manoj,

How would Data Loop Connector effect this?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Jun 16, 2004 7:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Wed Jun 16, 2004 7:49 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Manoj,

Makes sense, but he mentioned the Activity is expiring as expected.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Wed Jun 16, 2004 7:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Wed Jun 16, 2004 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Jun 16, 2004 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
MaheshPN
PostPosted: Wed Jun 16, 2004 8:50 am    Post subject: Reply with quote

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
View user's profile Send private message
MaheshPN
PostPosted: Thu Jun 17, 2004 11:23 am    Post subject: Reply with quote

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
View user's profile Send private message
MaheshPN
PostPosted: Thu Sep 23, 2004 11:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]expirationTime()
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.