Skip to content

Commit 98d22a4

Browse files
HackoDev1530rohi-v
authored andcommitted
Create README.md
1 parent a4aba28 commit 98d22a4

File tree

1 file changed

+13
-0
lines changed
  • Server-Side Components/Business Rules

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
A business rule that verifies all checklist items are completed before allowing the record to progress to the next status.
2+
3+
The business rule consists of three main parts:
4+
5+
Part A: Looks up all checklists (checklist table) tied to the current record (document = current.sys_id).
6+
7+
Part B: For each checklist, query the checklist_item records:
8+
9+
Only items in that checklist.
10+
11+
Only items that are not complete (complete = false).
12+
13+
Part C: If any incomplete items exist, an error message is displayed and the action is aborted.

0 commit comments

Comments
 (0)