Hide records with state as 'closed' or 'canceled'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 04:35 AM
I want to hide those rows in the incident table, which have the state as 'closed' or 'canceled.
When i open the incident table, it should not display any tasks which are in 'closed' or 'canceled' state.
i dont want to use filter. I want to use script for this.
What should i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 05:34 AM
Why don't you just use a filter? To do this without a filter, you will need to adjust the ACL or the query business rule and that is hiding them forever. That's not something your agents/callers will appreciate, because that will work on everything, not just your 'list'.
Closed and canceled records are also data that needs to be reviewed. For agents to see what happened if someone called in, mentioning it's 'the 3rd time this has happened' and callers want to review their tickets as well. Create a filter or view, hiding them, but having the possibility to 'unhide' them. Don't use a script (or ACL)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 05:58 AM
Hi,
I appreciate your reply.
The expectations of the client is that whenever they open the table, the tasks with state 'closed' or 'canceled' must be hidden. That's why i was going with the script.
I tried using client script, but its not working.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 03:34 AM
Your client states that he doesn't want to see the 'closed' or 'canceled' incidents when opening the table. Your solution should be the filter. Why are you trying to use a script instead of conditions? Your client doesn't state he never wants to see them, just not when opening the table.