Approval rule — Cloud Customer Connect
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

Approval rule

Summary: Approval rule


Content (please ensure you mask any confidential information): Hi all, we have a requirement that employees who have a specific role assigned to them, if they initiate/submit any Document Records for approval, then only one level of approval is valid.

Other employees who do not have that role assigned, for them the normal approval workflow should work.

Below are the rules I have written, however, they are not working as expected and getting overriden. Could someone please help me with the rules.

For employees who do not have the role assigned:

(((getNewDoRByTransactionIdResponse.result.documentType == "Visa Letter Request") OR ((getNewDoRByTransactionIdResponse.result.documentType == "Address Proof Letter Request") OR ((getNewDoRByTransactionIdResponse.result.documentType == "BH Number Letter Request") OR (getNewDoRByTransactionIdResponse.result.documentType == "Employment Letter Request")))) AND (Requestor's Role Details.roleName != "MD CEO Reporting Role"))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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