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 » How do I get the VALID_FROM time for a template

Post new topic  Reply to topic
 How do I get the VALID_FROM time for a template « View previous topic :: View next topic » 
Author Message
pmg
PostPosted: Wed Jul 06, 2005 6:19 am    Post subject: How do I get the VALID_FROM time for a template Reply with quote

Newbie

Joined: 06 Jul 2005
Posts: 1

I have been trying to get the valid time from when the associated process template is valid, through the API. I know it has been set as I checked in the fdl and it had a VALID_FROM time. Unfortunately when I try use the command item.processInstance().validFromTime().getTime() ,I get the time the item was created rather than the time that the process template was valid from.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jul 06, 2005 9:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You should actually od it on the ProcessTemplate calss and not on ProcessInstance.

I see a method in ProcessTemplate class called validFromTime()
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hos
PostPosted: Thu Jul 07, 2005 12:49 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

the API call is correct, the process instance also contains the template's ValidFromTime. The template actually does not have the ValidFromTime that you expect. If you specify a ValidFromTime that is located in the past, the ValidFromTime is set to the current time during import. This allows you to update an existing process template with the same ValidFromTime. The new template version gets precedence because it has a newer ValidFromTime setting.
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 » How do I get the VALID_FROM time for a template
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.