![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: HELP deleting trigger Topic Summary: Created On: 15-Jul-2005 16:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I tried the trigger definition. The definition can be obtained at the project level. Project p = current Trigger t for t in p do { print name(t) "\n" } | |
![]() |
|
I have the following trigger in a few modules. (attached)
I need to delete it from one module. When I run the code to delete the trigger, nothing happens. It does not even find the trigger in the module. Is this because the trigger is set for an attribute? Does anyone know how to delete it? string tn = "Prod Status" Trigger t for t in current Module do { if (name(t) != tn) { print name(t) "\n" continue } else { ack "Deleting t" delete t } } ------------------------- Hello Edited: 15-Jul-2005 at 16:21 by Maria Manco |
|
![]() |
|
![]() |
|
I tried the trigger definition. The definition can be obtained at the project level.
Project p = current Trigger t for t in p do { print name(t) "\n" } ------------------------- Cliff Bly |
|
![]() |
|
![]() |
|
Thanks alot!! That worked!!
------------------------- Hello Edited: 18-Jul-2005 at 13:49 by Maria Manco |
|
![]() |
|
![]() |
|
If you want the trigger to apply to just a single module you probably want to define it with modul->current. But you could also modify the trigger code to get the current module and decide if it wants to do anything for that module. Such a trigger would apply to the project and would fire for all modules, but wouldn't do anything for most of them.
- Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
HELP deleting trigger
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.