Client Script is not running properly in Agent Workpace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 08:42 AM - edited 03-22-2024 08:44 AM
Hi Community!
I have this strange issue happening in Agent Workspace. I've created a BR Scratchpad to get current user assignment Group.
Also I've created a Client Script to populate assignment group and Assigned to if they create a new case and they are part of Scratchpad group.
This is working perfect in NativeUI, and almost perfect in Agent Workspace except for this issue Im facing;
When I try to create a new case from another place that is not ALL in Workspace Lists, Assigned To is not populating even when In my logs the user's sys id is showing correctly.
Do you know what can be happening ?
THANKS!
BR scratchpad:
Client Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:56 AM
Hi @Gpope
If you select any other ( My cases - My open - Any inside My Lists ), then its opening, already created records then , isNewRecord returns false. Hence its not working. But I am surprised how assignment group is populating.
🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:59 AM
@Sohithanjan G when I select any other list but I click in CREATE NEW ui action. so the record will be new