Hello
This is a SAP Workflow standard behaviour and working as expected. If a user has reserved the workitems, then it wont appear in other approvers inbox.
I think you can add a "Substitution check" function (Read info. from table HRUS_D2) while executing the work item. If this check fails; you can inform the substitution user that he/she is no longer delegated to execute this workitem. Then you can programmatically replace the workitem using FM SAP_WAPI_PUT_BACK_WORKITEM or inform the substituted user to forward the workitem or replace manually using SWI1.
You can try to mass "Replace Manually" the affected workitems via SWIA to resolve the current PRD issues. This will unreserve the workitems and re-execute the agents rule.
RH_CHECK_SUBSTITUTION_DATES
SAP_WAPI_SUBSTITUTES_GET Workflow Interfaces: Determine Substitutes
SAP_WAPI_SUBSTITUTE_ACTIVATE Workflow Interfaces: Activate Substitutes
SAP_WAPI_SUBSTITUTE_DEACTIVATE Workflow Interfaces: Deactivates Substitutes
SAP_WAPI_SUBSTITUTE_DELETE Workflow Interfaces: Delete Substitutes
SAP_WAPI_SUBSTITUTE_MAINTAIN Workflow Interfaces: Maintain Substitutes
SAP_WAPI_SUBSTITUTE_PROF_GET Workflow Interfaces: List with Substitute Profiles
Regards
Sandy
Message was edited by: Sandy !