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] creationTime() VS. receivedTime()

Post new topic  Reply to topic
 [SOLVED] creationTime() VS. receivedTime() « View previous topic :: View next topic » 
Author Message
MQSerious
PostPosted: Tue Aug 31, 2004 10:21 am    Post subject: [SOLVED] creationTime() VS. receivedTime() Reply with quote

Acolyte

Joined: 29 Mar 2004
Posts: 68
Location: At Large

I have noticed a subtle inconsistency between these 2 methods.

Calling receivedTime() on a checked out item or a notificationitem returns a time that is a few seconds older than the real time the user checked out the work item.

Calling creationTime() however yields the correct time on both work items and notification items.

In general, the receivedTime() method seems to be unreliable viz returning correct time. Anyone else made this observation or am I doing something wrong?


Last edited by MQSerious on Wed Sep 01, 2004 7:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Ratan
PostPosted: Tue Aug 31, 2004 1:56 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I believe recievedTime returns when the user recieved the Item. Not when he performed a CheckOut.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
MQSerious
PostPosted: Wed Sep 01, 2004 6:39 am    Post subject: Reply with quote

Acolyte

Joined: 29 Mar 2004
Posts: 68
Location: At Large

So, how do you get the time the user checked out the item?
Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Sep 01, 2004 6:58 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

you might want to try lastModificationTime. Not sure though
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Sep 01, 2004 6:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I would guess that it would be the lastModificationTime(). You will have to test this out to be sure.
_________________
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
MQSerious
PostPosted: Wed Sep 01, 2004 7:47 am    Post subject: Reply with quote

Acolyte

Joined: 29 Mar 2004
Posts: 68
Location: At Large

Thanks, both of you.
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] creationTime() VS. receivedTime()
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.