SAP Message WL612 - Object type & from container element & is incompatible with type &

Diagnosis
The instance linkage for the terminating event of the work item cannotbe entered since the object type &v1&, which is addressed via thecontainer element &v2&, is not a subtype of the type &v3&.

System Response
The action was aborted, the work item was not created.

Procedure
Check the definition of the terminating event for this work item.Ensure that the object type behind the container element specified inthe step definition of the workflow is a subtype of the object type forwhich the terminating event is defined.