
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2019 07:26 AM
I would like to report on, or track HR Cases that have been rejected by the customer. One idea would be to create a field on the HR Case table that shows the number of times a case has been rejected. I am having difficulty figuring out when the customer is rejecting the case resolution on the portal. Could someone tell me what table contains data showing when a case has been rejected or what process is being triggered when a case is rejected? How does your organization report on case rejections?
Thanks,
Marty
Solved! Go to Solution.
- Labels:
-
Case and Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 07:03 AM
My solution to this was to create a new field on the case for called case rejection count. Then on the HRI Case user acceptance workflow, I added a script to increment the case rejected count.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2019 04:24 AM
To make sure I understand, are you saying that the HR Case Acceptance or Rejection, OOB, does nothing more than change the case state? And the only way to track it would be to track when the case changes state (ex from resolved to closed complete)?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 07:03 AM
My solution to this was to create a new field on the case for called case rejection count. Then on the HRI Case user acceptance workflow, I added a script to increment the case rejected count.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 03:39 AM
add Run Script to HRI workflow rejection branch
// Assuming 'current' refers to the record being worked on in the workflow
var gr = current; // 'current' is the record context in the workflow
// Initialize u_rejection_count to 0 if it's not already set
if (!gr.u_rejection_count) {
gr.u_rejection_count = 0;
}
// Increment the rejection count by 1 every time this script runs
gr.u_rejection_count += 1;
// Save the updated record
gr.update();
Create field on appropriate tables u_rejection_count