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: Trigger email for selected users across a module
Topic Summary: Playing with fire :-)
Created On: 27-Sep-2008 09: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.
 27-Sep-2008 09:25
User is offline View Users Profile Print this message


Murugaraj S

Posts: 38
Joined: 8-May-2007

Hi All,

I am developing a dxl code, which will trigger email if there is any change in the attribute value. Now I have attribute called Status & this value is new, progress & completed.
Let me try to explain, what I am doing here....

Here ismy trigger code:

Trigger t = trigger("Trigger", module->modName->attribute->(string key skipAttributes), post,save, 10, readFile "D:\\triggers/Userlist 1.8.dxl>")

I have 2 dxl code
1. Select Attributes.dxl [Dialog box to display Attributes across module level only]
2. Userlist 1.8.dxl [Dialog box to display user & groups across the module level only]
Select Attributes.dxl will display the list of attributes across the module in a dialog box, so I can select any one of attributes and Apply trigger & then I close the module.

If i open the module again to change the value of the attributes, immediately it will bring the include file (Userlist 1.8.dxl), where I can select particular user / group to send email. This code is working fine for me.

Now, is there a way to trigger.. like if i select the Attribute Status from New to Progress it should always send email to selected users & "ABC groups" & from progress to completed should always send email to selected users & "XYZ groups".. . We have plenty of modules & more than 100 users. I dont wish all users to select any groups to send email. I want to automate this provess. If users changes the value it should automatically send email to the particular groups which was selected and triggered by Administrators. Any help Appreciated.. Thanks in advance.

Please let me know, if you didnt understand my question.... Thanks!
Report this to a Moderator Report this to a Moderator
 6-Oct-2008 06:52
User is offline View Users Profile Print this message


Murugaraj S

Posts: 38
Joined: 8-May-2007

Last call, Does anyone have answer for my Question?

Thanks
Murugaraj S
Report this to a Moderator Report this to a Moderator
 6-Oct-2008 15:18
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Not sure what you are asking, but let me guess: You want there to be one user group associated with each of a few attributes. When any such attribute changes in your module, you want the trigger code to send an email to each member of the group associated with that attribute.

Sounds like you will end up sending a BUNCH of emails, one each time any such obj-attr value changes.

Anyway, yes this can be done. You can get the name of the attribute being modified by the trigger, I think the attrDef(Trigger) command will do that. By naming conventions you can build the name of the Group, e.g. "SendEmail_<NameAttr>". You can turn that group name into a Group Handle, then loop through all the User members of that Group.

- Louie
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.