![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Stop Transition if conditions not met Topic Summary: Stop transition Created On: 19-Aug-2008 15:20 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
If I have some logic checking the status of children CRs and I want to stop a parent CR from transition if certain children CRs are in the wrong state, how do I do this? I've used the "die" before and it does nothing.
Any help is appreciated. |
|
![]() |
|
![]() |
|
Have you tried a TRELATION (as long as you are not on Version 5.0 - TRELATION are going away there.)
In the $CCM_HOME/etc/ptcli.cfg file there is a section for TRELATIONs. There are TRELATION examples in that file that check a child to see if it is in the correct state. One note - These TRELATIONs are used across all instances of Change for the particular install of Synergy ($CCM_HOME). TRELATION Example - [TRELATION][NAME]verify associated irs are approved[/NAME][ACTION]verify[/ACTION][REL_NAME]associated_ir[/REL_NAME][ATTR_NAME]crstatus[/ATTR_NAME][ATTR_VALUE]ir_approved[/ATTR_VALUE][/TRELATION] To use this TRELATION you have to put the name ("verify associated irs are approved") of the TRELATION on the Precondition Treleation Rules. ------------------------- Thanks, Brian |
|
![]() |
|
![]() |
|
Thanks for your help. I'll try that out.
|
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
Stop Transition if conditions not met
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.