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: Print recent History of the Object only
Topic Summary: Print recent History of the Object only
Created On: 20-Oct-2008 07:59
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.
 20-Oct-2008 07:59
User is offline View Users Profile Print this message


Murugaraj S

Posts: 38
Joined: 8-May-2007

Hi @ All,

If the enumerated Attribute value is changed, I want to trigget email. So, I just want to get the modified value (Old value & New Value) to use in the email. I used History to get the Old value & new Value.

Since I dont want all the history to be included in the email, I just tried this code( Please see the attached full code). So I used this code:

History h
for h in current Object do
if (h.date == today)
{
returnHistory(History h)

}
But If i make 5 changs today Its printing all the five changes. If i use this code to send email, Its sending six individual email with each changes seperately.
Is there way to get the value which was modified last. I dont want the previous history and all even if its changed today also. Thanks a lot in Advance!!!

Please see the output below:

Changed By: Administrator on 10/20/08 10:47:27
Attribute Name: Test_Attr:
_null_ Changed to -> Test0

Changed By: Administrator on 10/20/08 10:48:14
Attribute Name: Test_Attr:
Test0 Changed to -> Test5

Changed By: Administrator on 10/20/08 11:13:34
Attribute Name: Test_Attr:
Test5 Changed to -> Test1

Changed By: Administrator on 10/20/08 11:16:22
Attribute Name: Test_Attr:
Test1 Changed to -> Test2

Changed By: Administrator on 10/20/08 11:19:46
Attribute Name: Test_Attr:
Test2 Changed to -> Test4

Changed By: Administrator on 10/20/08 11:26:13
Attribute Name: Test_Attr:
Test4 Changed to -> Test0
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.