How to auto generate pdf on HR case from HR document template.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 02:03 PM
I want automatically generate and attach pdf to HR case from HR document template mentioned in pdf template field on HR case. I was thinking about BR but couldn't find any script or API that does it for HR documents.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 02:30 AM
Use below script in your BR:-
new GeneralHRForm(current.sys_class_name, current.sys_id).generate();
Also make sure to set pdf template field on HR case via HR template or record producer script.