A set of Rule Action Models for ShowAction and InsertAction are displayed below. The behavior of these particular actions is complex and depends on a large number of factors. The diagrams below provide a map of the logic followed by the application when executing these actions, and illustrates the different ways groups and items are treated depending on their characteristics (such as whether a referenced item is part of a repeating or non-repeating group).