"Suspend Case" button on HR Task (Workspace)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 03:18 AM
Hi,
I'm looking for more information about "Suspend Case" UI Action available on HR Task.
Suspend HR case action is available on active tasks when the parent HR case is not suspended or closed but my concern is that button is visible on the task form before submission (parent HR Case state is "Work in Progress").
Why does "Suspend Case" button become visible when creating an HR Task (before submitting it)? Its not visible when parent HR Case state is "Draft" or "Ready".
HR Case on HR Agent workspace
HR Task before submission
Is this expected behavior and is it working by design or should "Suspend Case" button only by visible once the task is submitted?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 03:37 AM
Hi @miro2 ,
"Suspend Case" UI Action is meant for HR Tasks not parent cases. Also, this option is primarily used to align with your HR Task SLAs.
If you are unable to close the HR case within the duration specified in the service level agreement (SLA), you can suspend the case.
For example, to contact a vendor, such as the insurance administrator or payroll processing company, to obtain the required information to close the case. After beginning work on the case, you can suspend it until the information is received. This way the HR case does not show that the SLA is breached. When the information is received, you enter it into the case and resume SLA tracking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 03:59 AM
Suspend HR case action is available on active tasks when the parent HR case is not suspended or closed.
It checks if parent case in wip and current task should not be in draft.
Ideally it should not appear on the form. Can you check the ui action condition for any update.
OOB condition -
!(new hr_Task().isClosed(current)) && !current.parent.nil() && !(new hr_Task().isClosed(current.parent)) && current.parent.state == 18 && current.state != 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 04:12 AM
Hi @Pranesh072
so the UI Action is OOTB, and the condition is the same as you provided
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 04:18 AM
Can you check in the native view as well.