SAP Message SWF_RUN542 - Function may only be executed on a top level work item

SWF_RUN542 : Function may only be executed on a top level work item