want to display alert message on Worknote Post button cliick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 11:59 PM - edited ‎12-20-2024 12:34 AM
when any user enter worknotes and click on POST button, show popup alert message with YES/NO confirmation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2024 01:44 AM
Hi @shashanksha
The post button comes with "Activities(filtered) Formatter", any change with that may impact other module form as well. The best you can try a business rule on table with applied condition on Work Notes/Additional Comments, if it matched with desired condition value you can allow or abort the change.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0634703
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2024 02:05 AM
You have to make changes on the POST button. Go to System Definitions>UI Actions search for the POST button related UI Action and then write a script accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2024 03:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2024 02:42 AM
Not possible to do this, best thing you can try is to disable post button that too requires DOM manipulation which ServiceNow doesn't recommend but you can give try. My suggestion is to not to do with this requirement as this requires changes to OOB behavior which again ServiceNow doesn't recommend. For DOM solution try below.
Regards,
Musab