![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Determing Active Triggers for Module Topic Summary: Created On: 28-Mar-2008 23:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Module m = current Trigger t = null for t in m do { print name t "\n" } Run this through Edit DXL in module. If you want to delete all triggers you might also add "delete t" after the "print name" in the loop. | |
![]() |
|
I was playing around with triggers and I created a trigger that fires on module opening. Unfortunately, I cannot remember the name of the trigger and so I have no way to turn it off. Is there a commend that lists the names of the triggers that is associted with a given module?
|
|
![]() |
|
![]() |
|
Module m = current
Trigger t = null for t in m do { print name t "\n" } Run this through Edit DXL in module. If you want to delete all triggers you might also add "delete t" after the "print name" in the loop. ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
|
![]() |
|
Pekka posted printed trigger names in the module. Several months ago I posted a 'DXLFind.dxl' script that finds and dumps Triggers, including the code (and also Attr DXL and Layouts).
The code you use to deploy a trigger should be written to be able to remove it. It would thus looks something like the following. string NameTrig = "MyTrigger" if (confirm("Remove '" NameTrig "'??")) delete(NameTrig, ..parameters) if (confirm("Deploy '" NameTrig "??")) trigger(NameTrig, ..paramaters, DXLofTrigger) - Louie |
|
![]() |
|
![]() |
|
Louie,
Thank you for your response. I was fooling around with your code when I deleted the confirm statements as well as changing the names of the triggers. After that, I couldn't remember the names of the triggers I set. Edited: 31-Mar-2008 at 20:04 by David Pepion |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Determing Active Triggers for Module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.