how to auto reject expense report when both submitter and approver are same
Summary:
We have a scenario where an approver while delegating the approvals to a certain user and when that user creates expense report within the delegated period, system shouldn't allow the user to approve.
While setting Prohibit self approval as there is no approver available since manager has delegated the approval to the submitter, the BPM task is not getting triggered and errors with following message.
ORABPEL-30142 exception.code:30142 exception.type: ERROR exception.severity: 2 exception.name: Reassignment/Delegation to Skipped Users is not allowed. exception.description: Reassignment/Delegation to users [] is not allowed as all the assignees belong to skipped users [suyi.loh@labcorp.com] in realm jazn.com for task definition default/FinExmWorkflowExpenseApprovalComposite!11.13.24.07.0/FinExmWorkflowExpenseApproval. exception.fix: Check reassigned/delegated users list and correct the error. Make sure that valid reassignment/delegation is happening by choosing assignee(s) other than skipped users.