skip to main content
Corticon Studio: Quick Reference Guide : Ruletests : Ruletest window : Associating one child entity with more than one parent
 

Try Corticon Now
Associating one child entity with more than one parent
To create associations between a child entity and more than one parent:
1. First, ensure the parent-child (source-target) association supports a multiplicity of many-to-many or many-to-one.
2. Drag and drop the parent entities (here, FlightPlan) as usual.
3. Create an association between aircraft and FlightPlan[1] as described in Creating Associations.
4. To associate aircraft[1] to FlightPlan[2] in addition to FlightPlan[1], drag aircraft as shown to the right, and press the CTRL key as you drop it.
5. A pop-up window will ask you to select the Aircraft you are linking to. In this case, select Aircraft[1] and click OK.
6. Verify the child entity has the appropriate indented structure underneath both parent entities, indicating the two associations have been created correctly.
7. Notice that data for aircraft[1] is only entered once, under the FlightPlan[1] entity, even though it is associated with both FlightPlans.
8. In large Testsheets, it may be difficult to locate the original instance of aircraft[1]. Clicking on any copy and choosing Ruletest > Go To Entity from the menubar will automatically locate the original instance.