We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f42f4 commit 823cc2bCopy full SHA for 823cc2b
1 file changed
Server-Side Components/Business Rules/Auto-approved opened by is approver/ReadMe.md
@@ -0,0 +1,17 @@
1
+>**When a new Approval record (sysapproval_approver table) is created**
2
+
3
+1. Create a Before Business Rule on the Approval (sysapproval_approver) table.
4
5
+2. Check if the table of the record being approved is the Requested For table.
6
7
+3. If it does:
8
9
+ Verify whether the Approver (approver) is the same as the Opened by (opened_by) field on the related Requested For record.
10
11
+ If both match:
12
13
+ Automatically approve the approval record.
14
15
+ Add appropriate approval comments (e.g., “Auto-approved since approver is the requestor (Opened By).”)
16
17
+ Use setWorkflow(false) to prevent triggering additional workflows or business rules.
0 commit comments