(C5071) Tasks/Procedures that are used incorrectly
Tasks can be bound only to activities; any other usage, such as expressions, is erroneous. Procedures and functions cannot be bound to activities.<subroutine name> (defined as <task/procedure/function>)
used as <procedure/function/task> in definition of <element name>