You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Business Rule is triggered after an update on the (HR case)"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
+
This BR will prevent the duplicate letter generation for multiple updates in work in Progress state.
0 commit comments