- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 03:59 AM
Let us assume that we have an employee who was part of the organisation until 01 Feb. 2025 but his capacity and aggregates are generated until 31 Dec. 2025, using the related links on the employee record on sys_user table.
Now the resource_aggregate_monthly and resource_aggregate_weekly tables show the aggregates generated until 31 Dec. 2025.
After the employee is terminated, the Employment end date field on employee Profile (sn_employee_profile) table is updated to the employee termination date. After the date is updated, if we run a job/script to update employee capacity and aggregates again, this doesn't delete the capacity or aggregates generated for dates after employee termination date.
Is there a way to automatically delete these aggregates?
The employee name still shows up while creating resource assignments because of this issue.
Solved! Go to Solution.
- Labels:
-
Resource Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2025 04:46 AM
Hi @Alpa82 ,
Its "Resource Termination Handler" Scheduled Script Execution job.
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Regards,
Pranav Thanedar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 08:35 AM
I also have this question^^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 08:32 AM
Also have the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 12:56 AM
Hi @Wendy Harding and @EmeliaH ,
I was able to figure out this. Make sure that the employee end date is populated in employee profile table, there is a job which runs https://<instance_name>.service-now.com/nav_to.do?uri=sysauto_script.do?sys_id=6389bea753770010be19d...
The job will automatically delete the capacity records for employees whose end date has passed. Below is the documentation link.
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Regards,
Pranav Thanedar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 02:05 AM
Hello,Thank you for the provided information, I am unable to copy the link provided for the schedule job, could you please share the name of the scheduled job? thank you