HR Case is not getting closed automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 03:02 AM
HR LE Case is not getting automatically closed even all the respective HR tasks are complete.
Have configured the same in HR service too, still its not working(screenshot below). Can someone pls provide any script/how to do configuration here?
@Ankur Bawiskar @Sandeep Rajput @Community Alums
- Labels:
-
Human Resources Service Delivery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 05:44 AM
I do not have it handy with me but you can simply create onAfter updateBR on HR Task table and do a GlideRecord on the Task table with a filter of parent = current.parent.
This will give you a list of all the HR Tasks, request and RITMs where parent is HR Case. You can check the state of each of these task and choose to decide if the case can be closed.