How to Stop AP Invoice Approval Workflow Before Top Participant
Summary:
We don't have hierarchy setup in fusion HCM. In Oracle we are assigning manager to user directly and based on that we want to achieve below scenario.
User A > B is manager of A
User B > C is Manager of B
User C > D is Manager of C
User D > Considering as Top Participant
Rule configuration details:
List Builder - Supervisory
Number of Levels - 2
Starting Participant - HierarchyBuilder.getManager("supervisory",Task.payload.Invoice Requestor,-1,"","")
Top Participant - HierarchyBuilder.getPrincipal("UserD",-1,"","")
Invoice
AA_test_20000101 Initiated by A
AA_test_20000102 Initiated by B
AA_test_20000103 Initiated by C