![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: TRELATIONS in ptcli.cfg Topic Summary: setting up pre/postconditions in ptcli.cfg Created On: 3-Mar-2006 12:07 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi all,
is there anybody ou there who has expiriences in modifying the ptcli.cfg and can help me a bit further? I don't know if the syntax is correctly and didn't find any documentation that is describing some special cases. I want to write a precondition for a transition in Change Synergy with a content similar to this:
The example should overwrite only the default value 'dummy', but it is also overwring other values than 'dummy'.
[TRELATION][NAME]set family attribute[/NAME][ACTION]set[/ACTION][REL_TYPE]self[/REL_TYPE][REL_Query]family_id='dummy'[/REL_QUERY] [ATTR_NAME]family_id[/ATTR_NAME][ATTR_VALUE]%instance#%problem_number[/ATTR_VALUE][/TRELATION]
[TRELATION][NAME]check if problem is deferred[/NAME][ACTION]verify[/ACTION][REL_NAME]self[/REL_NAME][ATTR_NAME]is_deferred[/ATTR_NAME][ATTR_VALUE]!true[/ATTR_VALUE][/TRELATION]
[TRELATION][NAME]check if problem is deferred[/NAME][ACTION]verify[/ACTION][REL_NAME]self[/REL_NAME][ATTR_NAME]is_deferred[/ATTR_NAME][ATTR_VALUE]*[/ATTR_VALUE][/TRELATION]
Thanks a lot for your help in advance. Best Regards, Andrea |
|
![]() |
|
![]() |
|
The only way I have been able to modify information is to use a post condition trigger on an attribute it self, then use a perl script to modify information.
So your toggle box could trigger the perl script to run and then modify any attribute you wanted within the CR. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
TRELATIONS in ptcli.cfg
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.