Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: E-Mail Notification on State Change
Topic Summary:
Created On: 18-Aug-2003 23:02
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
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.
 18-Aug-2003 23:02
User is offline View Users Profile Print this message


James Tinkoff

Posts: 2
Joined: 3-Jul-2003

Does anybody have directions or know where some documentation exists to create an email notification of a Change Synergy 4.3 state change. Once a state change is sucessful, I want to send an email to the original assigner that the related task has been completed and ready for review so the assigner can review the work and the move the request to the next possible state.
Report this to a Moderator Report this to a Moderator
 25-Aug-2003 10:05
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Bonjour,

May be another solution exists in 4.3 but I think CM trigger is your direction.
See the file <database path>/lib/notify/readme for more information. For additional information refer to Technical Bulletin TB 125 "Triggering Actions Upon Checkin or Checkout" and TB 168 "Using Alternate E-mail Addresses for Notification" in the Customers Area section of the web site.

-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
 22-Sep-2003 20:00
User is offline View Users Profile Print this message


James Tinkoff

Posts: 2
Joined: 3-Jul-2003

Merci,
Mon ami - I am having problems finding a way to trigger an email message on the change of state of a cs work flow. The email trigger works fine for Task creation and I can alter the text in the template - no problems. But, where is or where do I place a template for the cs change of state say from working to resolved? What routine / file calls the template? I have looked at the two tech bullitens and remain in the dark. Any help would be appreciated!!!! No hint too small. Please send you thoughts or comments.
Report this to a Moderator Report this to a Moderator
 23-Sep-2003 10:15
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Bonjour James,

You want to have an email for the cs change of state say from working to resolved ?
On Unix (you have to transpose/translate for NT)
    Go inside your database: % cd <database path>/lib/notify

    Create a template resolved.tpl from your task template

    Edit resolved.tpl and change the text and the attributes. When the trigger is called, the "%attribute" is replaced by the value of attribute For example: %problem_synopsis will be replaced by the Change Request abstact. To have the list look at the ChangeSynergy process (.xml)

    edit the file Unix/ Trig_eng.def (trigger is launched as ccm_root) and insert:
    pt_transition
    {
    problem
    {
    resolved pt_script resolver =resolved.tpl;
    }
    }

    Create a pt_script to handle the file generated from the template (in the your pt_script $1 is the resolver, $2 is the generated file name) and to launch the mail


-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
 24-Sep-2003 07:12
User is offline View Users Profile Print this message


Vincent Gaudeul

Posts: 68
Joined: 10-Oct-2002

Hello all,

I guess you should also try to use new CS triggers. These triggers may be written in PERL or any script language. They are much easier to implement, and run much faster than traditional CM triggers described by Pierre.

If you installed CS 4.3 Service Pack 1 on top of your CS 4.3 installation, you'll find a crAssignEmail.pl trigger file in the wsconfig/triggers directory.

It is an auto-documented script that sends an email message to the resolver of a problem during transition to assigned state.

You'll just need to declare this trigger in PostConditions settings of in_review2assigned transition.

Hope this helps.

Report this to a Moderator Report this to a Moderator
 24-Sep-2003 08:47
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Hello Vincent,

Like I said in my first answer, I don't still use 4.3 version and I don't know 4.3 perl API integrates email management :-(

James, sorry to give you bad advise.

Regards,

-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
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.