Are you missing entry/do/exit activities which you have defined in your model? If so, it's likely because the code generator handles these activities in a special way because they are not ordinary operations in UML. Their sole purpose is to do one of these two things:

  • Reference another behavior (of a class or interface)
  • Insert verbatim code in place of the operation

This means that the code generator will never generate a function for an entry/do/exit activity. It also means that you can't use these activities from outside the state, because they themselves don't exist in the generated code.

See also

Entry/Do/Exit Actions

  • No labels