Amending BPM rules for Change order
We are trying to amend approval workflows for Self Service Procurement specifically around Change orders.
We added below line in the if statement:
PurchasingDocumentDistribution.chargeAccount Matches "(.*)-(.*)-((?!9999).*)-(.*)-(.*)-((?!999999).*)-(.*)"
And amended below line in Then using List Builder Job Level:
Replaced Top Participant from: HierarchyBuilder.getPrincipal("ceo@company.org",-1,"","")
To: HierarchyBuilder.getManager("joblevel","8",-1,"","")
When we submit the change order, the system is unable to create the approval workflow as expected and the change orders are erroring.
Would you be able to assist or guide on how to setup these additional criteria correctly.