Create notification on User table with Audit History field names
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 09:23 AM
Hello,
Is it possible to create a notification for the sys_user table when a record is updated, showing what has been updated via the sys_history_line table? For example,
I'm thinking about creating an email script. Would this approach work instead?
1 REPLY 1

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 09:58 AM
You can use business rule like this on sys_user table and utilize standard notifications. Your script wont do much good - to anwer your question.
var elements = current.getElements(); var hasChanged = false; for(var i=0; i < elements.length;i++){ var element = elements[i]; hasChanged = hasChanged || element.changes(); gs.info(element.getName() + ":" + element.changes()); gs.info(hasChanged);