Skip to content

Commit 83c390b

Browse files
README.md
1 parent a4aba28 commit 83c390b

File tree

1 file changed

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

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#Contribution
2+
3+
The Business Rule is triggered after an update on the sn_hr_core_case table, specifically when the case state is set to "Work in Progress". This rule generates a PDF letter based on the trigerred conditions.
4+
5+
Document Template created seperately. Document Template Name - PDF Letter Employee.The Document Template Sys ID is passed within the script, and the corresponding document template has been created separately (refer to the attached screenshot for reference).
6+
Document Template -> All Document Templates - > New
7+
As per the script, the PDF letter is generated and named using the HR case subject's name — for example:
8+
"Letter: " + empName + ".pdf".
9+
10+
Functionality -
11+
When a fulfiller changes the case state to "Work in Progress", the PDF letter is automatically generated and attached to the HR case record.
12+
13+
Business Rule Description -
14+
15+
Name - pdf Letter generation
16+
Table - sn_hr_core_case
17+
Condition - state is "work in Progress"
18+
Update - Check the box
19+
When -select after
20+
21+
22+

0 commit comments

Comments
 (0)