Nested actions
A nested action is any action started when an action is already in progress.
Nested actions can be started only when a hook calls the BuildEntity or EditEntity methods of the Session object. Some actions can be both a primary action (initiated directly by the user) and a nested action (initiated by a hook).
Note: Nested actions trigger all base actions for
that record type, just as primary actions do.