Activity Chart Checks : (C3117) Subroutines with illegal combination of type and implementation

(C3117) Subroutines with illegal combination of type and implementation

Error In:
Correctness
Description:
There are subroutines with an illegal combination of type and implementation.
Example:
A subroutine is defined as a task, having an implementation of procedural statechart. Procedural statecharts can be only the implementation of either a function or a procedure.
Erroneous Elements:
Subroutines