How to restrict attachments from getting copied from HR tasks to parent case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2019 02:57 AM
Hi All,
I wanted to restrict the copying of attachment from HR task to Parent case. Currently, when I close a task, attached documents gets copied to parent case.
Any help would be appreciated.
- Labels:
-
Case and Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2019 03:30 AM
Hi Shilpa,
Navigate to system Definitions --> Business rules and as shown in below screenshot in filter condition search with "SCRIPT" "contains" "GlideSysAttachment.copy" as shown in the screenshot below.
Now You can see the Business rules written on HR Task table to copy the attachment. Now based on your requirement you can make it inactive or you can add the condition.
Hope this is helpful.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2020 11:46 AM
Hi. I was trying to find the same thing. HR Core Task has a business rule named: "Notify HR Case owner when all task close"
This BR calls the hr_task().updateAttachments() which transfers the task's attachments to the case.
So the best answer is to tweak the business rule to be more specific in its checks.
Hope this helps!
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2023 12:37 PM
Hi William,
I am also trying to restrict the copying of attachment from HR task to Parent case. I have found the
"Notify HR Case owner when all task close" business rule. Could you please provide me with an explanation on how to modify the business rule to be more specific in its checks?