State diagram mappings - submachine state (Java code)
ACS generates code for the State Diagrams that are referenced by Submachine States when the following conditions are true:
The Submachine references a State Machine that is part of the same Class as the referencing Submachine.
Transitions enter and exit the Submachine through its Connection Point References.
* 
Note that Modeler creates a Connection Point Reference for each Entry State and Exist State the referenced State Machine owns. On a State Diagram, you can populate a Submachine's Connection Point References: right-click the Submachine, and select Populate > Connection Point References.