- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 03:59 AM
Can anyone please help me on the below query.
When all task are closed in a HR case, The case should closed automatically.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 03:27 AM
@nikhitha24 I would say instead of writing script, create flow designer on HR task table.
I have created below flow and its working
I have attached xml of the flow here. You can load it in your instance and use it
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 04:22 AM
@nikhitha24 OOB configuration available on HR Service to close case automatically. There is a checkbox called as "Automatically close case" on HR service configuration record. This checkbox is visible when "Fulfillment type" is Service Activity or Lifecycle event.
When you check this checkbox then it will show one more field called as "Close when". It will have two options
1) All to-dos are complete
2) Mandatory to-dos are complete
If you select "All to-dos are complete" then HR case will get closed when all tasks gets closed.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2023 11:40 PM
Hi @SANDEEP28
Thank for the help
I have checked this OOB configuration for Lifecycle event service but i have one query
I have closed all task in a HR case, my HR case is ready state still HR case is closed complete or is there any particular state then only HR case will close complete.
Please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 05:36 AM
@nikhitha24 If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2023 11:16 AM
@nikhitha24 If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!