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: Stop Transition if conditions not met
Topic Summary: Stop transition
Created On: 19-Aug-2008 15:20
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.
 19-Aug-2008 15:20
User is offline View Users Profile Print this message


Thomas White

Posts: 11
Joined: 25-May-2006

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.
Report this to a Moderator Report this to a Moderator
 19-Aug-2008 15:36
User is offline View Users Profile Print this message


Brian Barde

Posts: 39
Joined: 24-Sep-2004

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
Report this to a Moderator Report this to a Moderator
 20-Aug-2008 15:30
User is offline View Users Profile Print this message


Thomas White

Posts: 11
Joined: 25-May-2006

Thanks for your help. I'll try that out.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 2 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 2 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.