You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to write auto approval rules for an expense report created using REST APIs ?

Summary: We are creating expense Reports using REST APIs and the seeded auto approval rule isn't working as expected. The rule works when employees submit the expense report themselves but doesn't work when the expense Report is created using REST APIs by a service account. The status shows pending manager approval and the issue details are as follows:

Issue description - The request operation failed with the business rules defined for ExpenseReportOwnerRuleSet.

Issue Resolution - Validate the BPM rule for ExpenseReportOwnerRuleSet and ensure it returns a valid approval hierarchy.


We want the expense reports created using REST APIs to be auto-approved.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!