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: How to automatically update an attribute during a transition
Topic Summary:
Created On: 7-Aug-2003 04:36
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.
 7-Aug-2003 04:36
User is offline View Users Profile Print this message


Ken Chan

Posts: 4
Joined: 30-Jul-2003

Hi,

I would like to query the "current assignee" for change requests. I have added an attribute called current_assignee. How do I assign values to current_assignee without user intervention?

For example, during the "start here -> entered" transition, I would like to assign a literal to current_assignee.. Later, during the "entered->assigned" transition, I would like to copy the value of the "analyst" attribute to "current assignee", etc etc.

Cheers

Ken

Report this to a Moderator Report this to a Moderator
 7-Aug-2003 10:40
User is offline View Users Profile Print this message


Pierre Guillet

Posts: 21
Joined: 4-Jul-2003

Salut,

I think you can't use CM Synergy triggers (see CM Synergy forum) because value can be overwitten by a Change Request modification.
The only way known by me (may be another solution in 4.3), is to do a customization (a framework for CS), used to generate the package from the process. This is not a trivial solution :-(
You must create in wsconfig/templates/pt/include/attr_controls a file with your attribute name current_assignee.CCM_STRING from base.CCM_STRING (CCM_STRING is the CS type declared in the process). This file is HTML format + servlet CS API code + javascript. Modify the file to set the value to the current user (user javascript variable) only on transition (current_assignee_formtype variable must be set to "TRANSITION" or "SUBMIT". Put this attribute (can be hidden) in transition window from the process.

-------------------------
Pierre Guillet
Report this to a Moderator Report this to a Moderator
 8-Aug-2003 02:47
User is offline View Users Profile Print this message


Ken Chan

Posts: 4
Joined: 30-Jul-2003

Hi there,

I had a look at the "CS Customization Reference->user actions->modify problems" showing some code modifying submission values. I have not worked out where the modifications should be made such that it will work and I don't have to redo the modifications everytime a CR process package is created and installed.

After looking at the email trigger on CS4.3, I am also hoping that there is something in the CS perl api that will allow me to change a value of an attribute arbitrarily.

Worst come to worst, the users will just have to manually update the value in question.

Thanks
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 0 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 0 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.