Global Definition Set Checks : (C7116) Tasks/Procedures that are used incorrectly

(C7116) Tasks/Procedures that are used incorrectly

Error In:
Correctness
Description:
Tasks can be bound to activities only. Any other usage, such as in expressions, is incorrect. Procedures and functions cannot be bound to activities.
Example:
TASK PRINTER is used as procedure/function in definition of SCH:AN1
Erroneous Elements:
Subroutines