For more information, please refer to this announcement explaining best practices for getting answers to questions.
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"))