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: Documentation on trigger status constants?
Topic Summary:
Created On: 20-Sep-2006 16:25
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-Sep-2006 16:25
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

I looked at the DXL reference manual. While it outlines the trigger status constants (trigPreConPass, trigPreConFail etc.) but does not explain the meaning of each of these triggers. Is there somewhere they have been explained? I would appreciate it if you could let me know. Thank you.

Regards,

Pranav
Report this to a Moderator Report this to a Moderator
 20-Sep-2006 22:30
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

'Pre' event triggers allow the trigger code to disallow the event. A pre-attr-save trigger is allowed to check the proposed input and not save the attribute if needed.

Well, you express your desire in 'pre' event triggers by setting either trigPreConPass or trigPreConFail. You can set them anytime during the code, the last one set has precedent when the trigger code ends. trigPreConFail means disallow the subsequent event.

Don't know what trigRunOK and trigError are for, but I imagine that trigError has the same effect as trigPreConFail, and trigRunOK has the same effect as trigPreConPass. Give it a try and let us know.

- Louie

BTW, 'post' triggers let you react to an event after it happens, such as opening a module.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.