Pop up messages when updating case "Comments" or "Closure Notes"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 06:45 PM - edited 05-02-2024 04:25 PM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 07:19 PM
Hi @Scotty88 ,
You can write onchange client script on additional comments field
Code -
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var acc = g_form.getValue('account');
if (acc == 'dc5dd0843bc02300bfe04d72f3efc41e') { /// sys_id of specific account 'ABC'
alert('Comment has been added to the case');
}
This is working fine. But one thing to note that even if you put one letter in additional comments, it will give pop up
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 09:07 PM - edited 05-02-2024 04:25 PM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 08:27 PM - edited 05-02-2024 04:25 PM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 10:04 PM
@Scotty88 To avoid sys id you can use gs.getproperty(sys_prpertyname) and you can use AFTER-UPDATE business rule then in condition section of BR you have to add "comment is updated.