![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Persistent Trigger on Object Text Topic Summary: Created On: 4-Mar-2003 16:48 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I modified my code to act with a few Persistent Triggers in a way that it applied the functionality I needed Mainly two triggers. 1.) A pre open on the object, GUI pops up for a Synergy Task User will always have a Synergy Task when going into an object when our Requirement Life Cycle is at a given point for that object. Record the Synergy Task to the DOORSHOME Directory, for Future Reference. User has two options in the GUI either to apply a valid number or close it. So if the user closes the GUI we stop the event from happening. With the trigPreConFail Trigger Status Function. 2.)A post modify trigger on the Attributes of interest, if modified the Synergy Task is populated with what the user entered into the GUI previously. If not modified, nothing gets changed. -Nick DeLisi | |
![]() |
|
I have a persistent trigger acting on the object text.
So if it is modified the trigger executes. Is there a way to have a trigger act on the object text in a way that it will boot the users out if they try to modify object text? for example, say you go in and type some stuff in the Object Text and then you get out of the object by hitting the escape key, no changes were then made to the Object Text, nothing is recorded in the history. Is there a way to implement something like this? From what I can see, it is not possible with a trigger. Any suggestions appreciated. -Nick |
|
![]() |
|
![]() |
|
Hi Nick,
This one is quite interesting. I tried a few things with dynamic triggers, whereby I am able to restore the original text, however being "Object Text", I cannot eliminate the history-records. The worst thing is because I used 2 triggers [sync and save], I get 2 history records for each event. Ultimately ![]() ------------------------- Nandan Banodkar (nandanbanodkar@hotmail.com) |
|
![]() |
|
![]() |
|
I want to limit the modification of the object text, because our requirements follow a lifecycle, so once a requirement reaches a certain state in the lifecycle, the trigger will execute to tell the user to enter in a Synergy Task for a CR.
So no modifications can happen to the Object Text until a Synergy Task is enetered. If I limit the access rights to users, then that can get messy, you can lock down the Object Text to certain users, but it still does not meet my requirements of having them associate a change without a Synergy Task. -Nick |
|
![]() |
|
![]() |
|
I modified my code to act with a few Persistent Triggers in a way that it applied the functionality I needed
Mainly two triggers. 1.) A pre open on the object, GUI pops up for a Synergy Task User will always have a Synergy Task when going into an object when our Requirement Life Cycle is at a given point for that object. Record the Synergy Task to the DOORSHOME Directory, for Future Reference. User has two options in the GUI either to apply a valid number or close it. So if the user closes the GUI we stop the event from happening. With the trigPreConFail Trigger Status Function. 2.)A post modify trigger on the Attributes of interest, if modified the Synergy Task is populated with what the user entered into the GUI previously. If not modified, nothing gets changed. -Nick DeLisi |
|
![]() |
|
![]() |
|
Nick:
I would like to get your help with persistent triggers. I have a pre-modify trigger on ClosureStatus attribute to pop-up a form. The user has a choice to enter Comments or not in the form. They can close the form if they choose not to enter comments at any time I am trying to set up a trigger on ClosureStatus attribute to prevent a user from entering "Closed" if the Comments attribute remains empty. Do I need a post-modify trigger on the same attribute? I want to restore the original value in ClosureStatus e.g. ("Opened", "Deferred") from the history records if the ClosureComments is empty. I would appreciate any help you could share with me. Thanks Janet Ma janet.ma@gdcanada.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Persistent Trigger on Object Text
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.