want to display alert message on Worknote Post button cliick.

shashanksha
Tera Contributor

when any user enter worknotes and click on POST button, show popup alert message with YES/NO confirmation.

4 REPLIES 4

Community Alums
Not applicable

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.

 

polnilesh99_0-1734687854514.png

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0634703

 

yuvarajkate
Giga Guru

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.

 

Hello @yuvarajkate ,

 

We dont have any POST ui action in Ui actions.

Musab Rasheed
Tera Sage
Tera Sage

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.

https://www.servicenow.com/community/upgrades-and-patching-forum/how-to-disable-the-post-button-unde...

https://www.servicenow.com/community/developer-forum/i-need-to-remove-the-post-button-under-the-work...

Please hit like and mark my response as correct if that helps
Regards,
Musab