Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Identifying the value of an Object-level attribute on a certain date
Topic Summary:
Created On: 6-Nov-2008 21:09
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Pranav Chandrasekhar, on Friday, November 7, 2008 7:56 PM

Answer:
Louie,
Thank you very much for the prompt response. I had coded this bit differently before I read your post. After reading your post, I realized that my method had a flaw. I was searching for the LAST date BEFORE my input date (exact opposite of your method). Your method not only accounts for all situations but it also relaxes process requirements on some of our engineers. Thank you so much for your help.

Regards,

Pranav
 6-Nov-2008 21:09
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

As the subject of this e-mail suggests, I am looking for a function that takes an object and a specific date as an input and outputs the value of a specific object-level attribute for that object on that date. Is there a DXL function that does this?

Moreoever, if I actually had to code this, I could look at the history but I was wondering if any of you have an idea of how to approach this.

Any input would be highly appreciated. Thank you.

Regards,

Pranav
Report this to a Moderator Report this to a Moderator
 7-Nov-2008 15:29
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Have considered this but its real sticky. First of all you may need to browse old baselines and need to look for this object in the old baselines. Find the Baseline that was created just before your Date threshold.

Second, you'll need to browse History for this object, finding the first History for this Object-Attribute that's AFTER your date; then look at that History's hst.oldValue value.

If this baseline has no History for this Obj-Attr, then the Baseline's Obj-Attr value is used.

Yuuuuck.

Be advised this will only work for Attributes that save History; and that if the user is not the Administrator, relevant History may be ReadLocked producing incorrect results.

Years ago I approached this issue completely differently. At relevant times during the Project I would take a SnapShot of important Object Attr values and store them in special SnapShot_<Date>_<AttrName> attributes, figuring later I could see what the values were are important dates in the past. This method, regreattably, required me to know ahead of time which dates may be important and run SnapShot at those times. Project Milestones came to mind, but so did running SnapShot right before we sent modules to Contractors for modification.

- Louie
Report this to a Moderator Report this to a Moderator
 7-Nov-2008 19:56
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

Answer Answer
Louie,
Thank you very much for the prompt response. I had coded this bit differently before I read your post. After reading your post, I realized that my method had a flaw. I was searching for the LAST date BEFORE my input date (exact opposite of your method). Your method not only accounts for all situations but it also relaxes process requirements on some of our engineers. Thank you so much for your help.

Regards,

Pranav
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.