![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Email Notifications when a transition is completed Topic Summary: Email Notifications Created On: 12-Oct-2006 20:15 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thanks for the information. I finally worked out the solution with technical support. Here is the information I received from technical support: perl EmailNotification.pl -toattr resolverffice
Comma separated list of attributes that contain names of CS users to be included into the recipient list. Attributes that do not contain a value are omitted as useras are that have no e-mail adress specified in their profile.
Comma separated list of CS user names to be included into the recipient list. Users that do not have an e-mail adress specified in their profile are omitted.
Comma separated list of e-mail addreses to be included into the recipient list.
Flag to suppress an e-mail to the current logged in user.
Comma separated list of attributes to be included in the body of the e-mail. The default is - boddattr problem_number,crstatus,problem_synopsis,problem_description.
Term to be used in the e-mail to refer to the CR. The default is -crtype CR.
String to be used instead of Default Subject string. This can pass in %s characters as per the example in TEXT_SUBJECTDEFAULT.
String to be used on first line of Email Text. This replaces the TEXT_BODYHEADER_01DEFAULT. It also uses same %s characters as per the example.
String to be used on first line of Email Text. This replaces the TEXT_BODYHEADER_02DEFAULT. It also uses same %s characters as per the example.
| |
![]() |
|
How can I set up email notifications to select users when a change request is transitioned? any help will be appreciated.
------------------------- jmccarty |
|
![]() |
|
![]() |
|
Use Perl trigger files on the transition.
Sample perl files are in directory cs_app\webapps\synergy\WEB-INF\wsconfig\triggers of the Change installation. |
|
![]() |
|
![]() |
|
I received the following perl trigger script from technical support:
perl EmailNotification.pl [-toattr attrnames] [-touser usernames] [-toaddr addresses] [-nologin] [-bodyattr attrnames] [-crtype crstring] Does anyone know if this needs to be modified? For example does [-toattr attrnames] need to be modified with an attribute name like [-toattr resolver] I have tried both ways and can not seem to get the email notifcation to work each time I tried I got the following EmailNotification: error: Invalid argument '[-toattr'. Any help will be greatly appreciated. ------------------------- jmccarty |
|
![]() |
|
![]() |
|
The braces '[]' probably mean "this is optional". If you want to use the attribute then omit the []; if you don't want to use the attribute, then omit the [] and everything inside.
|
|
![]() |
|
![]() |
|
Thanks for the information.
I finally worked out the solution with technical support. Here is the information I received from technical support: perl EmailNotification.pl -toattr resolverffice
Comma separated list of attributes that contain names of CS users to be included into the recipient list. Attributes that do not contain a value are omitted as useras are that have no e-mail adress specified in their profile.
Comma separated list of CS user names to be included into the recipient list. Users that do not have an e-mail adress specified in their profile are omitted.
Comma separated list of e-mail addreses to be included into the recipient list.
Flag to suppress an e-mail to the current logged in user.
Comma separated list of attributes to be included in the body of the e-mail. The default is - boddattr problem_number,crstatus,problem_synopsis,problem_description.
Term to be used in the e-mail to refer to the CR. The default is -crtype CR.
String to be used instead of Default Subject string. This can pass in %s characters as per the example in TEXT_SUBJECTDEFAULT.
String to be used on first line of Email Text. This replaces the TEXT_BODYHEADER_01DEFAULT. It also uses same %s characters as per the example.
String to be used on first line of Email Text. This replaces the TEXT_BODYHEADER_02DEFAULT. It also uses same %s characters as per the example.
------------------------- jmccarty |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.